Externalities are the positive or negative consequences of economic activities that affect third parties who are not directly involved in the transaction. These effects can lead to market failures, where the true cost or benefit of a product or service is not reflected in its market price, ultimately impacting overall welfare and economic efficiency.