Coastal areas, particularly mangrove ecosystems, are highly vulnerable to the accumulation of heavy metals. On the other hand, the world is facing a global energy crisis due to dependence on non-renewable fossil fuels. This study aims to address both challenges simultaneously by utilizing the Sediment Microbial Fuel Cell (SMFC) as an ecosystem based approach capable of generating environmentall…