Plumbing codes regulate the installation, operation, and maintenance of plumbing systems, so water and sewage can be properly delivered and disposed of in the building. These regulations ensure that the plumbing in a building is installed correctly and can effectively operate and maintain plumbing systems.