Vyākaraṇa (Sanskrit: व्याकरण, lit. 'explanation, analysis', IPA: [ˈʋjaːkɐrɐɳɐ]) refers to one of the six ancient Vedangas, ancillary science connected with the Vedas, which are scriptures in Hinduism. Vyākaraṇa is the study of grammar and linguistic analysis in the Sanskrit language.
Pāṇini and Yāska are the two celebrated ancient scholars of Vyākaraṇa; both are dated to several centuries prior to the start of the common era, with Pāṇini likely from the fifth century BCE. Pāṇini's Aṣṭādhyāyī is the most important surviving text of the Vyākaraṇa traditions. This text, as its very title suggests, consists of eight chapters, each divided into four padas, cumulatively containing 4000 sutras. The text is preceded by abbreviation rules grouping the phonemes of Sanskrit. Pāṇini quotes ten ancient authorities whose texts have not survived, but they are believed to have been Vyākaraṇa scholars.