An overflow is an opening that helps prevent flooding by rerouting excess water back to the drain pipe once it reaches a certain level.