I want to know the answer to the following question:
How was Sanskrit originally used?
All the background I'm provided with is that "Knowledge of Sanskrit was a marker of social class and educational attainment in ancient India, and the language was taught mainly to members of the higher castes through the close analysis of Vyākaraṇins such as Pāṇini and Patanjali, who exhorted proper Sanskrit at all times, especially during ritual.". Is that enough to answer the question?
Answer: yes