Price floors and price ceilings are controlled by the government. This is to ensure that the prices provided by sellers are not too high or not too low. Price floors are used to protect the welfare of the producers (to avoid predatory pricing, etc.) while price ceilings are used to protect the welfare of the buyers. If not done so, a market failure might occur.