The Water Framework Directive (WFD) is a European Union legislation aimed at protecting and enhancing the quality of water resources across member states. It establishes a framework for managing water bodies based on ecological standards, promoting sustainable water use, and preventing pollution, ultimately addressing environmental consequences such as habitat degradation and water scarcity.