The correct option is B Water in a tank
We have to identify what can be measured in gallons among the given options.
If we look at the options carefully, we will realise that distance, length and height are measured in the units of length, like mile, yards or feet.
Whereas, water is measured in the unit of capacity, like gallon, quarts or pints.
Hence, option c is correct.