What are measures taken to prevent pollution?

People and scientists have come up with some ways to prevent pollution. Some of these is using filters on cars and factories along with making it illegal to litter.