IPA: //ˈhɛdɡeɪt//
KK: /hɛdɡeɪt/
A type of gate or valve used to control the flow of water into a channel or irrigation system, or to hold cattle in place for various procedures.
The farmer adjusted the headgate to manage the water flow into the irrigation ditch.
Headgate → The word is formed from "head" (from Old English "heafod", meaning the upper part or leader) and "gate" (from Old English "geat", meaning an opening or passage). A headgate refers to a gate that controls the flow of water at the head of a canal or irrigation system.
Think of the 'upper part' ('head') controlling an 'opening' ('gate') — that's why a headgate is a gate at the top controlling water flow.