An air purifier is a system that removes pollutants from the air and improves the quality of the air.…