This article has multiple issues. Please help talk page. (Learn how and when to remove these template messages)( or discuss these issues on the Learn how and when to remove this template message)
In Hinduism, Shesha (Sanskrit: ?e?a), also known as Sheshanaga (?e?an?ga) or Adishesha (?di ?e?a), is the nagaraja or king of all n?gas and one of the primal beings of creation. In the Puranas, Shesha is said to hold all the planets of the universe on his hoods and to constantly sing the glories of the God Vishnu from all his mouths. He is sometimes referred to as Ananta Shesha, which translates as endless-Shesha or Adishesha "first Shesha". It is said that when Adishesa uncoils, time moves forward and creation takes place; when he coils back, the universe ceases to exist.He is also described in Buddhism as Vasuki.
Vishnu is often depicted as resting on Shesha. Shesha is considered a servant and a manifestation of Vishnu. He is said to have descended to Earth in two human forms or avatars: Lakshmana, brother of Rama; Balarama, brother of Krishna.
"Shesha" in Sanskrit texts, especially those relating to mathematical calculation, implies the "remainder"--that which remains when all else ceases to exist. But in Sanskrit it also means 6 shesham as the sheshanaga has been depicted to have many heads (5 to 7).
Shesha is generally depicted with a massive form that floats coiled in space, or on the ocean of bliss, to form the bed on which Vishnu lies. Sometimes he is shown as five-headed or seven-headed, but more commonly as a many thousand-headed serpent, sometimes with each head wearing an ornate crown.
As per the Mahabharata, Shesha was born to sage Kashyap and his wife Kadru. Kadru gave birth to a thousand snakes, of which Shesha was the eldest. After Shesha, Vasuki, Airavata and Takshaka were born, in order. A lot of Shesha's brothers were cruel and were bent upon inflicting harm on others. They were even unkind to Garuda, who was Kashyapa's son through Vinatha, sister of Kadru. (Kadru and Vinatha were daughters of Daksha).
Shesha, disgusted by the cruel acts of his brothers, left his mother and kin, and took to austere penances. He lived on air and meditated in places including Gandhamadhana, Badrikashrama, Gokarna, Pushkara and Himalayas. His penances were so severe that his flesh, skin and muscles dried up and merged with his frame. Brahma, convinced of his Shesha's will, asked Shesha to request a boon. Shesha asked that he be able to keep his mind under control so that he could continue to perform ascetic penances. Brahma gladly accepted the request. Brahma then asked a favour of Shesha: to go beneath the unstable earth and stabilize it. Shesha agreed and went to the netherworld and stabilized her with his hood. He is known to support her even today, thus making Patala his perennial residence.
Shesha is also depicted as floating in the ocean of the changing world, forming the bed of Maha Vishnu. Since he is known as Adishesha (the foremost of snakes) and because he is Anantashesha or simply Ananta (endless, as he is known to remain in existence even after the end of the Kalpa, when the whole universe is destroyed).
In the Bhagavata Purana Shesha is named Sankarshana, the tamasic energy of Lord Narayana himself, and is said to live deep within the inner layers of patala, where there are many serpents with gems on their heads and where Sankarshana is the ruler. He is said to live since before the creation of the universe. When the universe is towards its end, he creates 11 rudras from him to destroy the universe for a new one to be created.
Sankarshana expands himself as garbhodakshayi-vishnu in the beginning of the universe to create Brahma. In other words, Lord Sankarshana is Lord Narayana himself.
In previous chapters of the Purana it is also said that Lord Sankarshana spoke the Bhagavata to the Four Kumaras, who in their turn passed this message of the Bhagavata. At some point the message was passed to sage Maitreya who in his turn spoke it to Vidura.
The city of Thiruvananthapuram is named after him as the "City of Lord Anantapadmanabha."