An externality occurs when some benefits or costs of an
activity by some agents spill over to other agents. In particular,
when a consumer's utility depends on
the consumption of other agents, we say that there is an externality
in consumption. When a firm's profit depends on the production
of other firms, we say that there is an externality in production.