Inherited from Latin gannīre.
Practice speaking and memorizing "gañir" and many other words and sentences in Spanish.