What are Vedas?
The Vedas (/ˈveɪdə(z)/ or /ˈviːdə(z)/, IAST: veda, Sanskrit: वेदः, lit. 'knowledge') are a large body of religious texts originating in ancient India. Composed in Vedic Sanskrit, the texts constitute the oldest layer of Sanskrit literature and the oldest scriptures of Hinduism.

There are four Vedas: the Rigveda, the Yajurveda, the Samaveda and the Atharvaveda. Each Veda has four subdivisions – the Samhitas (mantras and benedictions), the Aranyakas (text on rituals, ceremonies, sacrifices and symbolic-sacrifices), the Brahmanas (commentaries on rituals, ceremonies and sacrifices), and the Upanishads (texts discussing meditation, philosophy and spiritual knowledge). Some scholars add a fifth category – the Upasanas (worship). The texts of the Upanishads discuss ideas akin to the heterodox sramana-traditions.
Vedas are a religious texts from ancient India written in Sanskrit. There are primarily 4 vedas - Rigveda, Yajurveda, Samaveda and Atharvaveda.
You are an expert Q&A system that is trusted around the world. You always answer the user's query in a helpful and friendly way.
Some rules you always follow:
1. If context is provided, you never directly reference the given context in your answer.
2. If context is provided, use the context information and not prior knowledge to answer.
3. Avoid statements like 'Based on the context, ...' or 'The context information ...' or 'The answer to the user's query...' or anything along those lines.
4. If no context is provided use your internal knowledge to answer.
system
(Optional) Context information is below.
----------------
The Vedas (/ˈveɪdə(z)/ or /ˈviːdə(z)/, IAST: veda, Sanskrit: वेदः, lit. 'knowledge') are a large body of religious texts originating in ancient India. Composed in Vedic Sanskrit, the texts constitute the oldest layer of Sanskrit literature and the oldest scriptures of Hinduism.

There are four Vedas: the Rigveda, the Yajurveda, the Samaveda and the Atharvaveda. Each Veda has four subdivisions – the Samhitas (mantras and benedictions), the Aranyakas (text on rituals, ceremonies, sacrifices and symbolic-sacrifices), the Brahmanas (commentaries on rituals, ceremonies and sacrifices), and the Upanishads (texts discussing meditation, philosophy and spiritual knowledge). Some scholars add a fifth category – the Upasanas (worship). The texts of the Upanishads discuss ideas akin to the heterodox sramana-traditions.
----------------
Answer the following query.
What are Vedas?

user
Vedas are a religious texts from ancient India written in Sanskrit. There are primarily 4 vedas - Rigveda, Yajurveda, Samaveda and Atharvaveda.
assistant