An externality is an unintended side effect of an action that affects a third party. It can be positive or negative. A negative externality is exemplified by someone losing their job and spending less, hurting other businesses. A positive externality is when someone gets a raise and spends more, benefiting other businesses. The government tries to prevent negative externalities because one action can have wide ripple effects that hurt the economy.