a vertical post from which a gate is hung/attached.
From gate + post.
Practice speaking and memorizing "gatepost" and many other words and sentences in English.