Effective treatment of contaminants from water resources is paramount for ensuring public health and environmental sustainability. Conventional water treatment methods often suffer from limitations in efficiency, leading to the exploration of novel technologies. Polyaniline (PANI), a versatile conducting polymer, has emerged as a promising candidat