Unintentional spills or leaks of harmful substances can pollute land, water bodies, and the atmosphere, causing significant ecological harm . Insufficient treatment of wastewater with dangerous compounds can lead to prolonged contamination , impacting marine life and posing a risk to human health by accumulating in the food chain. Moreover, the release of toxic particulate matter in manufacturing operations adds to air pollution, worsening respiratory problems and climate change. Stringent rules and sustainable procedures are necessary to reduce the negative environmental effects of pharmaceutical manufacturing activities .