It's a big thing in the prelim course, where we look at it as more than related to the environment.
This is from my revision prelim notes, hope it helps to some extent:
Market failure is when the market fails to take into account the social costs of production as well as the private costs. In...