In the Vedas, Agni is a major and most invoked god along with Indra and Soma.[6][11] Agni is considered the mouth of the gods and goddesses and the medium that conveys offerings to them in a homa (votive ritual).[5][12][13] He is conceptualized in ancient Hindu texts to exist at three levels, on earth as fire, in the atmosphere as lightning, and in the sky as the sun. This triple presence accords him as the messenger between the deities and humans in the Vedic scriptures.[6] The relative importance of Agni declined in the post-Vedic era,[14] as he was internalised[15] and his identity evolved to metaphorically represent all transformative energy and knowledge in the Upanishads and later Hindu literature.[16][17][18] Agni remains an integral part of Hindu traditions, such as being the central witness of the rite-of-passage ritual in traditional Hindu weddings called Saptapadi (seven steps and mutual vows), in the Upanayana ceremony of rite of passage, as well being part of the diyā (lamp) in festivals such as Deepavali and Arti in Puja.[6]
Agni (Pali: Aggi) is a term that appears extensively in Buddhist texts[19] and in the literature related to the Senika heresy debate within the Buddhist traditions.[20][21] In the ancient Jainism thought, Agni (fire) contains soul and fire-bodied beings,[22] additionally appears as Agni-kumaras or "fire children" in its theory of rebirth and a class of reincarnated beings[23] and is discussed in its texts with the equivalent term Tejas.[24]