The document discusses government intervention in markets through price ceilings and price floors. A price ceiling sets a maximum legal price for essential goods to make them affordable for consumers, with an example given of rent control apartments. A price floor sets a minimum legal price for goods to support producers, with an example of farm subsidies. The effects of rent control are shown to be excess demand and a reduced quantity and quality of housing. The effects of farm subsidies are excess supply. In general, price ceilings lead to shortages while price floors lead to surpluses.