a myth about purusha a god of the vedic religion provided the basis for
Historical Vedic religion The historical Vedic religion (also known as Vedism, Brahmanism, Vedic Brahmanism, and ancient Hinduism[note 1]) was the religion of the Indo-Aryans of northern India during the Vedic period.[5] It is one of the historical elements from which modern Hinduism emerged, although significantly different from it.[note 2]
Shiva Rudra's evolution from a minor Vedic deity to a supreme being is first evidenced in the Shvetashvatara Upanishad (400–200 BC), according to Gavin Flood.[68][119] Prior to it, the Upanishadic literature is monistic, and the Shvetashvatara text presents the earliest seeds of theistic devotion to Rudra-Shiva.[68] Here Rudra-Shiva is identified as the creator of the cosmos and liberator of souls from the birth-rebirth cycle. The period of 200 BC to 100 AD also marks the beginning of the Shaiva tradition focused on the worship of Shiva as evidenced in other literature of this period.[68] Shaiva devotees and ascetics are mentioned in Patanjali's Mahābhāṣya (2nd-century BC) and in the Mahabharata.[120] Other scholars such as Robert Hume and Doris Srinivasan state that the Shvetashvatara Upanishad presents pluralism, pantheism, or henotheism, rather than being a text just on Shiva theism.[121][122][123]