Pursuant to Act No. 254/2001 Sb. the wastewater is defined as water used in residential, industrial, agricultural, health care and other buildings, facilities and means of transport , if its quality changes after the use (composition or temperature), as well as other water discharged from these structures, if it can endanger the quality of surface water or groundwater.