As per Shiv Mahapuran, once Brahma (the Hindu God of creation) and Vishnu (the Hindu God of Protection and Care) had an argument in terms of supremacy of creation.To test them, Shiva pierced the three worlds as a huge endless pillar of light, the jyotirlinga. Vishnu and Brahma split their ways to downwards and upwards respectively to find the end of the light in either directions.
Brahma lied that he found out the end, while Vishnu conceded his defeat. Shiva appeared as the second pillar of light and cursed Brahma that he would have no place in ceremonies while Vishnu would be worshipped until the end of eternity. The jyotirlinga is the supreme partless reality, out of which Shiva partly appears. The jyothirlinga shrines, thus are places where Shiva appeared as a fiery column of light.Originally there were believed to be 64 jyothirlingas while 12 of them are considered to be very auspicious and holy.
Each of the twelve jyothirlinga sites take the name of the presiding deity – each considered different manifestation of Shiva.At all these sites, the primary image is lingam representing the beginningless and endless Stambha pillar, symbolizing the infinite nature of Shiva.
The twelve jyothirlingas are Somnath in Gujarat, Mallikarjuna at Srisailam in Andhra Pradesh, Mahakaleswar at Ujjain in Madhya Pradesh, Omkareshwar in Khandwa in Madhya Pradesh, Kedarnath in Himalayas, in Uttrakhand state, Bhimashankar in Maharashtra, Viswanath at Varanasi in Uttar Pradesh, Triambakeshwar near Nashik in Maharashtra, Vaidyanath Temple, Vaidyanath in Jharkhand, Nageswar at Aundha Nagnath in Maharashtra, Rameshwar at Rameswaram in Tamil Nadu and Grishneshwar near Aurangabad, Maharashtra in Maharashtra.