The Archerfish of Southeast Asia and Australia spit at perched insects to knock them into the water for an easy meal. From KQED's "Deep Look":
“When the fish fires the shot,” (Wake Forest University biologist Morgan) Burnett explained, citing the work of other researchers in Germany who first used high-speed cameras to observe the projectiles in 2014, “the water leaves the mouth as essentially a very long stream. But during flight, the stream merges into a ball.”
The fish accomplishes this feat of timing through deliberate control of its highly-evolved mouthparts, in particular its lips, which act like an adjustable hose that can expand and contract while releasing the water.