So there are 4 groups in the caste system (that I know of) Brahmins, Kshatriyas, Vaishya and Shudras. Brahmins are priests. Kshatriyas are warriors. Vaishyas are merchants and workers. Shudras are farmers and/or labourers.
I’m not quite about how it influences the Indian society today but I hope this information helped.