Public goods are goods that are non-excludable and non-rival, which means that they are available to everyone and their use by one person does not diminish their availability to others. Examples of public goods include national defense, clean air, and public parks. Externalities are costs or benefits that are not reflected in the market prices and can affect third parties. They include pollution, traffic congestion, and noise.