Backflow prevention devices must be installed to ensure that contaminated water does not flow back into the water supply.