English · हिन्दी · తెలుగు · தமிழ் · മലയാളം · मराठी · ಕನ್ನಡ
Sanskrit literature
Shruti and smriti, the Vedangas and sutras, the epics and Puranas, the Dharmashastras with Mitakshara and Dayabhaga, the grammar and science texts, the five mahakavyas, Sanskrit drama, prose and story literature, and Kalhana's Rajatarangini.
India's literature was written in many languages over three thousand years, and UPSC tests it mostly by matching: which author wrote which work, in which language, at whose court. This chapter has four parts: Sanskrit literature here; Pali, Prakrit and Tamil in Part 2; the medieval regional literatures, Persian and Urdu in Part 3; and languages, scripts and the classical languages in Part 4. Sanskrit comes first because its written record is the longest and because for centuries it was a shared language of learning from Kashmir to Kerala. Its literature goes far beyond religion, into law, grammar, medicine, astronomy, politics, drama, poetry and history. The Vedic texts themselves are taught in the Vedic age chapter; this part begins with how later Indians classified them.
Tradition divides sacred texts into two classes. Shruti, 'what was heard', is the Veda itself: the four Samhitas with their Brahmanas, Aranyakas and Upanishads, held to have been revealed to the seers and passed down by memory, word for word. Smriti, 'what is remembered', covers texts with human authors, such as the epics, the Puranas and the law books; their authority is lower, and where a smriti conflicts with the Veda, the Veda prevails. The language changed as well: Vedic Sanskrit, with its pitch accents and older word forms, gave way to classical Sanskrit, the form that Panini's grammar fixed for later writers. Questions often test this line, for example by wrongly calling the Mahabharata shruti.
To protect the Veda and use it correctly in ritual, six auxiliary sciences grew up, the Vedangas or 'limbs of the Veda'. Shiksha deals with pronunciation, kalpa with ritual, vyakarana with grammar, nirukta with the meaning of difficult words (Yaska's Nirukta survives), chhandas with metre, and jyotisha with astronomy for timing sacrifices. They were mostly written as sutras, very short statements made to be memorised and explained by a teacher. Kalpa produced four kinds: Shrauta sutras on the great public sacrifices, Grihya sutras on household rites from birth to death, Dharma sutras on conduct and law, and Shulba sutras on measuring and building fire altars, which hold some of India's earliest geometry.
The two epics are classed as itihasa (epic), 'thus it was', accounts of the past. The Ramayana, credited to Valmiki and called the adi-kavya or first poem, tells Rama's story in seven books (kandas) and about 24,000 verses; scholars generally treat the first and last books as later additions. The Mahabharata, which tradition credits to Vyasa, grew from a core called Jaya ('victory') into the Bharata and then the Mahabharata of about 100,000 verses in eighteen books (parvans), with the Harivamsha on Krishna's family as an appendix. Its Bhishma parvan contains the Bhagavad Gita, Krishna's eighteen-chapter dialogue with Arjuna on duty, action and devotion. Both epics grew over centuries, which is why old warrior tales sit beside later teaching on dharma, and both were retold in almost every Indian language.
The Puranas, 'old narratives', carry the epic tradition into devotion. There are eighteen Mahapuranas, among them the Vishnu, Bhagavata, Shiva, Matsya, Vayu, Markandeya and Skanda, and a larger group of minor Upapuranas. A Purana is said to treat five subjects (pancha-lakshana): creation, dissolution and re-creation, the genealogies of gods and sages, the ages of the Manus, and the histories of royal lines. That last subject is why historians read them: the Matsya, Vayu and Vishnu Puranas list kings that help reconstruct the Mauryas, Shungas and Satavahanas, though they were written down long afterwards. The Bhagavata Purana's stories of Krishna fed later Vaishnava bhakti, and the Devi Mahatmya, part of the Markandeya Purana, is central to goddess worship.
Law and duty belong to the Dharmashastra tradition. It began with the prose Dharma sutras of Gautama, Baudhayana and Apastamba and continued in the verse Smritis. The best known, the Manusmriti, usually placed between about 200 BCE and 200 CE, sets out the duties of each varna and stage of life, the king's role, and rules on marriage, property and punishment; the Yajnavalkya Smriti, a few centuries later, is shorter and more orderly. Commentaries turned these texts into working law. Vijnaneshvara's Mitakshara, a twelfth-century commentary on Yajnavalkya written at the court of the Chalukya king Vikramaditya VI, gave sons a right by birth in family property; Jimutavahana's Dayabhaga, from Bengal, held that they gain it only on the father's death. British courts applied these two schools to Hindu inheritance.
Sanskrit was also the language of the sciences. Panini, from Shalatura in the northwest, composed the Ashtadhyayi around the fifth or fourth century BCE: nearly 4,000 sutras in eight chapters that describe the whole language with remarkable economy. Katyayana added notes (varttikas), and Patanjali, in the Shunga period, wrote the great commentary, the Mahabhashya. Amarasimha's Amarakosha, a thesaurus in verse, was learnt by heart for centuries. Kautilya's Arthashastra covers statecraft and economy; the Charaka and Sushruta Samhitas are the classics of medicine and surgery; Aryabhata, Varahamihira, Brahmagupta and Bhaskara II shaped mathematics and astronomy; and Bharata's Natyashastra sets out the theory of drama, dance and music. The table matches the main works to their fields.
| Work | Author | Field | Remember |
|---|---|---|---|
| Ashtadhyayi | Panini | Grammar | Nearly 4,000 sutras in eight chapters |
| Mahabhashya | Patanjali | Grammar (commentary) | Shunga period |
| Amarakosha | Amarasimha | Lexicon | Thesaurus in verse |
| Arthashastra | Kautilya | Statecraft and economy | Fifteen books (adhikaranas) |
| Charaka Samhita | Charaka | Medicine | Classic of Ayurvedic medicine |
| Sushruta Samhita | Sushruta | Surgery | Describes surgical instruments and operations |
| Aryabhatiya | Aryabhata | Mathematics, astronomy | 499 CE; the earth turns on its axis |
| Brihat Samhita | Varahamihira | Astronomy, omens, many sciences | Sixth century; also the Pancha Siddhantika |
| Brahmasphutasiddhanta | Brahmagupta | Mathematics, astronomy | 628 CE; rules for working with zero |
| Lilavati | Bhaskara II | Arithmetic | Part of the Siddhanta Shiromani, twelfth century |
| Natyashastra | Bharata | Drama, dance, music | Theory of rasa |
Classical poetry valued ornament: figures of speech, polished metre and the evoking of a mood (rasa). Ashvaghosha, linked by tradition with Kanishka's court, wrote the Buddhacharita, a life of the Buddha and one of the earliest surviving long Sanskrit poems. Kalidasa, usually placed in the Gupta age, is the summit: the Raghuvamsha follows the line of Rama, the Kumarasambhava tells of Shiva and Parvati and the birth of Kumara, the Meghaduta has an exiled yaksha send a message to his wife by a cloud, and the Ritusamhara describes the seasons. Critics later named five great court epics, the mahakavya: Kalidasa's two, Bharavi's Kiratarjuniya, Magha's Shishupalavadha and Shriharsha's Naishadhiyacharita, on Nala and Damayanti. Jayadeva's twelfth-century Gita Govinda, on Radha and Krishna, linked with the court of Lakshmana Sena of Bengal, is still sung in the Jagannath temple at Puri.
Sanskrit drama followed the rules of the Natyashastra and usually ended happily. Kings, Brahmanas and other high-ranking men speak Sanskrit on stage, while most women, servants and common people speak Prakrit, so one play records several languages. Thirteen plays credited to Bhasa, among them the Svapnavasavadatta, were known only through later writers until manuscripts turned up in Kerala early in the twentieth century. Kalidasa wrote the Malavikagnimitra, about the Shunga prince Agnimitra, the Vikramorvashiya and the Abhijnanashakuntala, which won wide admiration in Europe after William Jones translated it in 1789. Shudraka's Mrichchhakatika ('the little clay cart') centres on a Brahmana fallen into poverty and a courtesan; Vishakhadatta's Mudrarakshasa shows Chanakya outwitting the Nanda minister Rakshasa; Harsha wrote the Ratnavali, Priyadarshika and Nagananda; and Bhavabhuti, at Yashovarman's court in Kannauj, wrote the Uttararamacharita.
| Writer | Main works | Patron or period |
|---|---|---|
| Ashvaghosha | Buddhacharita | Kanishka (by tradition) |
| Kalidasa | Raghuvamsha, Kumarasambhava, Meghaduta; Abhijnanashakuntala, Malavikagnimitra, Vikramorvashiya | Gupta age (usual view) |
| Bharavi | Kiratarjuniya | Sixth century |
| Shudraka | Mrichchhakatika | Date uncertain |
| Vishakhadatta | Mudrarakshasa | Date debated |
| Banabhatta | Harshacharita, Kadambari | Harsha |
| Harsha | Ratnavali, Priyadarshika, Nagananda | Himself the king |
| Bhavabhuti | Uttararamacharita | Yashovarman of Kannauj |
| Kalhana | Rajatarangini (1148–49) | Kashmir |
| Jayadeva | Gita Govinda | Lakshmana Sena of Bengal |
Prose peaked in the sixth and seventh centuries. Banabhatta, Harsha's court poet, wrote the Harshacharita, a life of his patron, and the romance Kadambari, completed after his death by his son; Dandin wrote the Dashakumaracharita, the adventures of ten princes, and the Kavyadarsha on poetics; Subandhu wrote the Vasavadatta. Stories travelled further still. The Panchatantra, credited to Vishnu Sharma, teaches princes practical wisdom through animal fables in five books; it was rendered into Middle Persian in the sixth century and then into Arabic as Kalila wa Dimna, and from there its tales reached West Asia and Europe. The Hitopadesha, compiled in Bengal by Narayana, reworks much of it. Gunadhya's Brihatkatha, in Paishachi Prakrit, is lost, but its stories live on in Somadeva's eleventh-century Kathasaritsagara from Kashmir, which includes the tales of the Vetala.
Sanskrit is often said to lack history writing, which is only partly true. Court poets wrote charitas, praise-lives of kings: besides the Harshacharita, Bilhana's Vikramankadevacharita celebrates the Chalukya Vikramaditya VI, Sandhyakara Nandi's Ramacharita tells in double-meaning verses the stories of Rama and of the Pala king Ramapala, and Jayanaka's Prithvirajavijaya honours Prithviraj III. Prashastis carved in stone, such as Harishena's on the Allahabad pillar, served the same end. The real exception is Kalhana's Rajatarangini ('river of kings'), finished in 1148–49 CE, a verse history of Kashmir in eight books (tarangas). Kalhana drew on older chronicles, inscriptions and land grants and tried to judge rulers fairly; later Kashmiri writers such as Jonaraja carried it forward.
Taken together, Sanskrit literature moved from revelation to remembered tradition, from ritual sciences to grammar, medicine and astronomy, and from epic to court poem, play, story and chronicle. Three threads run through it: it was shared across regions, it was patronised by courts, so many works can be dated by their kings, and it lived in constant contact with the spoken languages around it, as the Prakrit speakers on its stage show. Those spoken languages, the Pali and Prakrit texts of the Buddhists and Jains, and the separate, equally old Tamil tradition are the subject of Part 2.
Exam traps
- The epics and Puranas are smriti, not shruti; only the Vedic Samhitas, Brahmanas, Aranyakas and Upanishads are shruti.
- There are six Vedangas; nirukta (Yaska) is about the meaning of words, while vyakarana is grammar, and Panini's Ashtadhyayi belongs to vyakarana.
- The Shulba sutras, part of kalpa, deal with altar geometry, not with ritual chants.
- The Mahabharata has eighteen parvans and the Bhagavad Gita eighteen chapters; the Gita sits in the Bhishma parvan, and the Harivamsha is an appendix, not a parvan.
- Mitakshara gives sons a right by birth in family property; Dayabhaga (Bengal) gives it only on the father's death. Vijnaneshvara wrote the Mitakshara, Jimutavahana the Dayabhaga.
- Mudrarakshasa is Vishakhadatta's, Mrichchhakatika is Shudraka's, and Uttararamacharita is Bhavabhuti's; Harsha wrote Ratnavali, Priyadarshika and Nagananda.
- The Kathasaritsagara is Somadeva's eleventh-century Sanskrit retelling of Gunadhya's lost Brihatkatha, which was in Paishachi Prakrit.
- Kalhana's Rajatarangini (1148–49) is a history of Kashmir; Bilhana's Vikramankadevacharita is about a Chalukya king, not a Kashmiri one.
Recap
- Shruti ('heard') is the Veda; smriti ('remembered') covers the epics, Puranas and law books, with lower authority.
- Six Vedangas: shiksha, kalpa, vyakarana, nirukta, chhandas, jyotisha; kalpa gives the Shrauta, Grihya, Dharma and Shulba sutras.
- Ramayana: Valmiki, adi-kavya, seven kandas. Mahabharata: Vyasa tradition, Jaya to Bharata to Mahabharata, eighteen parvans, Gita in the Bhishma parvan.
- Eighteen Mahapuranas with five marks; the Matsya, Vayu and Vishnu Puranas give dynastic lists.
- Manusmriti and Yajnavalkya Smriti; Mitakshara (birth right) versus Dayabhaga (right on the father's death).
- Panini's Ashtadhyayi, Patanjali's Mahabhashya, the Amarakosha; Charaka, Sushruta, Aryabhata (499 CE), Brahmagupta (628 CE), Bhaskara II.
- Five mahakavyas: Raghuvamsha, Kumarasambhava, Kiratarjuniya, Shishupalavadha, Naishadhiyacharita; Jayadeva's Gita Govinda.
- Dramatists: Bhasa, Kalidasa, Shudraka, Vishakhadatta, Harsha, Bhavabhuti; prose: Bana, Dandin, Subandhu; stories: Panchatantra, Hitopadesha, Kathasaritsagara; history: Kalhana's Rajatarangini (1148–49).
Practice questions
Q1. Which one of the following is NOT one of the six Vedangas?
- Nirukta
- Chhandas
- Mimamsa
- Jyotisha
Show answer
Answer: C. Mimamsa
Answer (c). Mimamsa is one of the six schools of philosophy (darshanas), not a Vedanga. Nirukta (meaning of words), chhandas (metre) and jyotisha (astronomy for timing rites) are all Vedangas, so (a), (b) and (d) are wrong choices.
Q2. Consider the following statements:
1. The Mahabharata and the Puranas are classed as shruti.
2. The Shulba sutras deal with the measurement and construction of fire altars.
Which of the statements given above is/are correct?
- 1 only
- 2 only
- Both 1 and 2
- Neither 1 nor 2
Show answer
Answer: B. 2 only
Answer (b). Statement 1 is wrong: the epics and Puranas are smriti, texts with human authors; shruti is the Veda. Statement 2 is right: the Shulba sutras, part of kalpa, cover altar measurement and contain early geometry. So (a), (c) and (d) are wrong.
Q3. With reference to the Mahabharata, which one of the following statements is correct?
- It has seven books called kandas.
- The Bhagavad Gita forms part of its Bhishma parvan.
- The Harivamsha is its first parvan.
- Tradition credits it to Valmiki.
Show answer
Answer: B. The Bhagavad Gita forms part of its Bhishma parvan.
Answer (b). The Gita is in the Bhishma parvan. (a) is wrong: seven kandas describe the Ramayana; the Mahabharata has eighteen parvans. (c) is wrong: the Harivamsha is an appendix. (d) is wrong: tradition credits the Mahabharata to Vyasa and the Ramayana to Valmiki.
Q4. Consider the following pairs:
1. Mitakshara : Vijnaneshvara
2. Dayabhaga : Jimutavahana
3. Mahabhashya : Katyayana
How many of the pairs given above are correctly matched?
- Only one
- Only two
- All three
- None
Show answer
Answer: B. Only two
Answer (b). Pairs 1 and 2 are right. Pair 3 is wrong: the Mahabhashya is Patanjali's; Katyayana wrote the varttikas on Panini. So 'only one', 'all three' and 'none' are wrong.
Q5. Which one of the following is NOT counted among the five classical Sanskrit mahakavyas?
- Kiratarjuniya
- Shishupalavadha
- Meghaduta
- Naishadhiyacharita
Show answer
Answer: C. Meghaduta
Answer (c). The Meghaduta is Kalidasa's short lyric poem of a cloud messenger, not a mahakavya; his two mahakavyas are the Raghuvamsha and Kumarasambhava. Bharavi's Kiratarjuniya, Magha's Shishupalavadha and Shriharsha's Naishadhiyacharita are among the five, so (a), (b) and (d) are wrong choices.
Q6. Match List I (work) with List II (author):
List I: A. Mudrarakshasa B. Mrichchhakatika C. Uttararamacharita D. Nagananda
List II: 1. Shudraka 2. Harsha 3. Vishakhadatta 4. Bhavabhuti
Select the correct answer using the code given below:
- A-3, B-1, C-4, D-2
- A-1, B-3, C-4, D-2
- A-3, B-1, C-2, D-4
- A-4, B-1, C-3, D-2
Show answer
Answer: A. A-3, B-1, C-4, D-2
Answer (a). Mudrarakshasa is Vishakhadatta's, Mrichchhakatika Shudraka's, Uttararamacharita Bhavabhuti's and Nagananda Harsha's. (b) swaps Vishakhadatta and Shudraka; (c) swaps Bhavabhuti and Harsha; (d) gives Mudrarakshasa to Bhavabhuti and Uttararamacharita to Vishakhadatta.
Q7. Consider the following statements:
1. Gunadhya's Brihatkatha was written in Paishachi Prakrit and survives in full.
2. Somadeva's Kathasaritsagara was composed in Kashmir.
Which of the statements given above is/are correct?
- 1 only
- 2 only
- Both 1 and 2
- Neither 1 nor 2
Show answer
Answer: B. 2 only
Answer (b). Statement 1 is wrong: the Brihatkatha was in Paishachi but is lost; its stories survive through later Sanskrit retellings. Statement 2 is right: Somadeva wrote the Kathasaritsagara in Kashmir in the eleventh century. So (a), (c) and (d) are wrong.
Q8. Kalhana's Rajatarangini, completed in 1148–49 CE, is a verse history of which region?
- Bengal under the Palas
- Kashmir
- The Chalukya kingdom of the Deccan
- Kannauj under Harsha
Show answer
Answer: B. Kashmir
Answer (b). The Rajatarangini traces the kings of Kashmir in eight books. (a) is wrong: Sandhyakara Nandi's Ramacharita deals with the Pala king Ramapala. (c) is wrong: Bilhana's Vikramankadevacharita is about the Chalukya Vikramaditya VI. (d) is wrong: Harsha's life is told in Bana's Harshacharita.
Study this in the Upscore app to keep notes, save it for revision, track your practice scores and follow a plan to the exam date. It's free.
Study this in the app →Sources
- Ministry of Culture, Indira Gandhi National Centre for the Arts: Vedic Heritage Portal (shruti and smriti, the Vedangas and the kalpa sutras) — https://vedicheritage.gov.in
- Centre for Cultural Resources and Training (Ministry of Culture): material on Indian literature (the epics, Puranas, classical Sanskrit poetry, drama and story literature) — https://ccrtindia.gov.in
- Centre for Cultural Resources and Training: material on science and technology in ancient India (grammar, medicine, mathematics and astronomy texts) — https://ccrtindia.gov.in
- Archaeological Survey of India: note on the Allahabad (Prayagraj) pillar and Harishena's prashasti of Samudragupta — https://asi.nic.in
- Centre for Cultural Resources and Training: material on the Dharmashastras and on historical writing in early India (Kalhana's Rajatarangini) — https://ccrtindia.gov.in