Education of Lord Hanuman

Lord Hanuman is a partial incarnation of Lord Shiva. He received his education from a mentor. At some point after his birth, when baby Hanuman felt hungry, he perceived the sun to be a fruit and tried to engulf it. After the gods saved the solar system from collapsing, Sun, became Hanuman’s guru.

Birth & Childhood of Lord Hanuman
Hanuman was born to Anjana, a female vanara, and Kesari, a male vanara, in Anjana Giri mountain. His mother was an apsara who was born on Earth as a female vanara due to a curse. She would be redeemed from this curse on her giving birth to an incarnation of Lord Shiva, who is also known as Rudra, and endowed with the Supreme Power of exalted devotion to Bhagwan Hari. Hanuman is endowed with 28 transcendental divine opulences, with perfection in each. Anjana, along with her husband Kesari, performed intense prayers to Lord Shiva to beget Him as her Child. Pleased with their devotion, Shiva granted them their desired wish. Hence, Hanuman is also known as "Maharudra" because he was born of the boon given to Anjana by Shiva.