Ballcocks automatically control the level of fluid in an open container / reservoir.
Water troughs, toilet cisterns, ponds etc.
Avoid situations where the outlet of the valve is immersed in the fluid. Loss of pressure in the supply pipe could draw back contaminated water from the reservoir.