The bourgeoisie controls the means and relations of production, giving them control over the whole economy. This 'economic base' then determines the 'superstructure' of institutions like government, religion, education etc. which reproduce bourgeois ideas and values.