Water is a crucial part of the production process when the company uses reaction or cooling water to create customized goods. It is therefore expected that some of the chemical components from the boats will be present in the water. Ensuring the safety of discharged water into rivers for human consumption is vital, as water supplies are limited and subject to cycles. Industrial wastewater sometimes includes higher concentrations of heavy metals like copper, lead, and other pollutants, whereas domestic wastewater usually has higher amounts of nitrogen and phosphate. Our previous strategy to dealing with these components involved adding chemicals and filtering them, but this method introduced additional compounds into the water sample. Science and technology have advanced alongside sewage treatment techniques. In this paper, we investigated the effects of electrical coagulation on water treatment in a rapidly industrializing environment. The effectiveness of electrical coagulation has been extensively studied, but less is known about how it impacts aquatic habitats and machinery. This work addresses the issue of equipment passivation in a number of potential methods that are related to an improvement in water quality.