How do inefficiencies occur in the market due to externalities.? Explain.

How do inefficiencies occur in the market due to externalities.?
Explain.