Loki is the son of the king of Jotunheim, Laufey. Being unusually small for a Frost Giant, Loki was abandoned in a temple to die. After the war between the Frost Giants and Asgardians had ended, Loki was found by Odin. Odin took the baby with him, altered his appearance with sorcery to resemble an Asgardian, and raised him as his son with his biological son Thor.
Loki as a child.
Growing up, Loki always felt like he was living in Thor’s shadow and was envious to him for being the future king. Loki was interested in sorcery instead of Asgardian warrior arts, and his adoptive mother Frigga taught him everything she knew.
Loki’s jealousy kept growing, and he was eager to prove himself to Odin to win his appreciation. His innocent mischief turned into more complicated plans and he started manipulating people. Loki became ambitious, and was willing to go to great lenghts to achieve greatness.