Standards and testing methods determine water quality in pools and beaches. Pools are typically treated with chlorine or bromine and require regulation of pH, while beaches may require occasional disinfection. Proper design and maintenance of pools can promote both safety and sanitation, such as adequate depth for diving boards. Water samples should be collected and tested regularly to ensure microbial, chemical, and physical contaminants remain within guidelines to protect public health.