Environmental regulation addresses a particularly striking example of market failure. Markets are generally efficient if companies’ revenues correctly reflect all the benefits that their output bestows on third parties, while their costs reflect all the harms.