A flow sensor detects how fast water is flowing through something. This can be used for many situations such as discovering what length of line your sprinkler system can run. If you factor in the size of pipe you can use what the flow sensor gives to figure out the rate of gallons per minute.