I want to know the answer to the following question:
What was Sanskrit used for?
All the background I'm provided with is that "However, there is a clear, five-level linguistic development of Vedic from the Rigveda to the language of the Upanishads and the earliest sutras such as the Baudhayana sutras.". Is that enough to answer the question?
Answer: no