There are four Vedas in Indian literature and Hindu tradition:
- Rigveda
- Yajurveda
- Samaveda
- Atharvaveda
These four Vedas form the core of Vedic knowledge. The first three—Rigveda, Yajurveda, and Samaveda—are collectively known as the "trayi-vidya" or "threefold knowledge," while the Atharvaveda was a later addition to the Vedic scriptures
. Each Veda consists of four major types of texts: Samhitas (hymns and mantras), Brahmanas (ritual commentaries), Aranyakas (ritual texts), and Upanishads (philosophical teachings)
. In summary, the number of Vedas is four, each with distinct features and content, together forming the foundation of ancient Hindu spiritual knowledge and practice