There are numerous stories regarding to how Hindu Vishnu
came into the possession of Sudarshana Chakra in Hindu Scriptures. One of the
popular stories indicates that Sudarshana Chakra was gifted by Shiva to Vishnu.
After collecting the flowers from Manasarovar in the Himalayas , Vishnu reached Kashi and was warmly welcomed
by Shiva. Vishnu then began to offer the flowers one by one to the Shivling at
Kashi. He chanted a name of Shiva and offered one lotus flower.
Legend has it that Vishnu one day decided to visit Lord
Shiva who was residing at Kashi. Vishnu collected 1008 lotus flowers from
Manasarovar to offer it on the Shivaling at Kashi by reciting the 1008 names of
Shiva.

Vishnu was fully absorbed in the process and Shiva decided
to test Him and removed one lotus flower that Lord Vishnu had brought and hid
it.
Vishnu chanted the 1008th name of Shiva and when he looked
for the 1008th lotus flower it was missing.
Immediately Vishnu realized that He is known to his devotees
as Kamalakanan – the lotus eyed. So he offered one of his eyes as the last lotus
flower.
Shiva was moved by this devotion of Vishnu and immediately
hugged Vishnu and thus restoring his eye.
Shiva then presented the Sudarshana Chakra to
Vishnu to fight evil and accepted him as the supreme commander of the three
worlds and one who sustains all living and nonliving beings.