The Vedas are a collection of hymns and other ancient religious texts written in India between about 1500 and 1000 BCE. It includes elements such as liturgical material as well as mythological accounts, poems, prayers, and formulas considered to be sacred by the Vedic religion.
According to tradition, Vyasa is the compiler of the Vedas, who arranged the four kinds of mantras into four Samhitas
(Collections). There are four Vedas: the Rigveda, the Yajurveda, the Samaveda and the Atharvaveda.
The basic Vedic texts are the Samhita “Collections” of the four Vedas:
Rig-Veda “Knowledge of the Hymns of Praise”, for recitation.
Sama-Veda “Knowledge of the Melodies”, for chanting.
Yajur-Veda “Knowledge of the Sacrificial formulas”, for liturgy.
Atharva-Veda “Knowledge of the Magic formulas”, named after a kind of group of priests.