The presence of heavy metals and trace organic micropollutants in the effluent water is still a significant issue, since conventional purification processes are unable to eliminate these contaminants, while advanced techniques are expensive and require substantial amounts of energy. Siliceous unicellular microalgae called diatoms have been shown to be a promising and environmentally-friendly technology to purify wastewater. Their specific structure and metabolic activity allow for effective removal of contaminants via the use of EPS, silica frustule adsorption, and intracellular transformation. The chapter examines the mechanisms of the process and discusses the performance of the system in various types of bioreactors, including biofilm reactors, high-rate algal ponds, and algae-bacteria consortia. Innovative approaches like functionalization of the frustule and increased EPS production are also analyzed.