The Agni Purana, one of the 18 Mahapuranas, a genre of Hindu religious texts, contains descriptions and details of various incarnations of Vishnu. It also has details account about Rama, Krishna, Prithvi, and the stars. It has a number of verses dealing with ritual worship, cosmology and astrology, history, warfare, sections on grammar and meter, law, medicine, and martial arts.