The main purpose of this legislative text is to improve the monitoring and management of water quality at beaches and coastal recreation areas. It aims to enhance public health and safety by ensuring that water quality is regularly assessed and that any contamination is promptly identified and addressed. Key provisions of this legislation include the establishment of grants for states and local governments to develop and implement programs for monitoring coastal waters.