In my opinion, I think taxes can solve a problem of negative externality because Taxes on negative externalities are intended to make consumers or producers pay the full social cost of the good. This reduces consumption and creates a more socially efficient outcome. Without a tax, there will be overconsumption because people ignore the external costs.