Production, Consumption, and Externalities