The main source of pollution of the environment is chemical plants. Carbon monoxide, nitric oxide, etc. are some of the factors of pollution from chemical industries. The maintenance of clean and healthy atmosphere makes it necessary to keep pollution under control. We use fuzzy control to minimize the waste gas pollution in environment by oil refineries.