Water pollution can affect all three types of water bodies: surface water, groundwater, and ocean water. Therefore, the most accurate answer from the options provided would be:
Pollution affects surface water, groundwater, and ocean water.
This encompasses the full range of water pollution impacts, as pollutants can enter surface water bodies like rivers and lakes, seep into groundwater, and also contaminate ocean waters.