Sanskrit literature is a broad term for all literature composed in Sanskrit. This includes texts composed in the earliest attested descendant of the Proto-Indo-Aryan language known as Vedic Sanskrit,
A 17th-century Devimahatmya manuscript written in Newar script, Nepal
Sanskrit Aṣṭasāhasrikā Prajñāpāramitā Sūtra manuscript written in the Ranjana script. India, early 12th century.
Jain Manuscript, Kalakacarya Katha.
Hymn 10.85 of the Rigveda, which includes the Vivaha-sukta (above). Its recitation continues to be a part of Hindu wedding rituals.
The Mahābhārata is one of the two major Sanskrit epics of ancient India revered in Hinduism, the other being the Ramayana. Both are considered smriti and itihasa texts.
Sanskrit literature
…considered less authoritative than Śruti in Hinduism. The Smṛti literature includes but is not limited to Vedāṅgas, Itihasas (the Hindu epics such as Mahabharata and Ramayana), the Sūtras and Śāstras, and the Purāṇas, while some traditions also include Kāvya (courtly poetry), Bhāṣyas, and numerous Nibandhas…
Manuscript illustration of the Battle of Kurukshetra
Krishna and Arjuna at Kurukshetra, 18th–19th-century painting
Vyasa narrating the Mahābhārata to Ganesha from a 17th century Mewar manuscript.
Sauti recites the slokas of the Mahabharata.