Externalities occur when the production or consumption of goods or services affects individuals who are not part of that transaction. For instance, when companies dump their waste in the river and pollute the water, people who live downstream are impacted by this negative externality.