According to the scriptures of the Vedic tradition Hindus belong to one of four varnasor social groups. Each varna has associated with it specific duties (dharma).
The Purusha Sukta (Hindu text) explains how the different varnas were formed from different parts of the body of Purusha, the first 'cosmic man', and comments on how different parts of the body fulfil different roles for the effective working of the whole body.
His mouth became the Priests; his arms were made into the Warrior, his thighs the People, and from his feet the Servants were born.Rig Veda 10.90
The four varnas are:
The word 'caste' refers strictly to the sub-divisions within each varna, and not to varnas themselves.