The principle of continuity is used to explain the flow of fluids in pipes of different shapes and sizes.