Hindu texts to an author, as a derivative work they are considered less authoritative than "Sruti" in Hinduism. The Smrti literature is a vast corpus of diverse texts, and includes but is not limited to Vedāngas, the Hindu epics, the Sutras and Shastras, the texts of Hindu philosophies, the Puranas, the Kāvya or poetical literature, the "Bhasyas", and numerous "Nibandhas" (digests) covering politics, ethics, culture, arts and society. Many ancient and medieval Hindu texts were composed in Sanskrit, many others in regional Indian languages. In modern times, most ancient texts have been translated into other Indian languages and some in Western languages.
Vedas preserved since ancient times. In the Hindu Epic the Mahabharata, the creation of Vedas is credited to Brahma. The Vedic hymns themselves assert that they were skillfully created by "Rishis" (sages), after inspired creativity, just as a carpenter builds a chariot. According to tradition, "Vyasa" is the compiler of the Vedas, who arranged the four kinds of "mantras" into four "Samhitas". There are four Vedas: the Rigveda, the Yajurveda, the Samaveda and the Atharvaveda. Each Veda has been subclassified into four major text types – the Samhitas (mantras and benedictions), the Aranyakas (text on rituals, ceremonies, sacrifices and symbolic-sacrifices), the