It is based on the Vishnu Purana, an ancient collection of stories and scripture. Vishnu Puran tells of 10 incarnations of Vishnu, as well as other stories, such as the Legend of Dhruva.