> As an example, in Medieval Europe, religion was used as an ideology to support the structure of society. Serfs were told that the people in charge were put there by God and that the way the world worked was the only divinely ordained way it could work. No wonder people who were essentially slaves didn't rise up; they were told God wanted them at the bottom.
> According to Marx, other ideologies like capitalism or liberalism work the same way. They are created, work to help sustain a particular social structure, and ultimately fall out of favor when a new idea comes to force. When this happens, the whole structure of society can change in a hurry as a new ideology fills the void.
Source: https://bigthink.com/culture-religion/slavoj-zizek-ideology