The lighthouse example
An individual's use of the light provided by a lighthouse does not reduce the ability of others to use it. In addition, the lighthouse owner cannot restrict individuals from using the light.
The latter illustrates the "free-rider“ phenomenon of public goods—both those who helped pay for the lighthouse and those who did not will enjoy the same amount of light.
The "free-rider" problem can be eliminated if governments collect taxes and then provide public goods.