After the Rigveda, society became more agricultural. People became divided into four classes depending on the type of the work. Brahmins were priests and teachers. Kshatriyas were the warriors. Vaishyas did agriculture, trading and commerce. The shudras were the general working class. It is not true that the Vaishyas and Shudras were always looked down upon, and treated badly by Brahmins and Kshatriyas, though it was true for the later part of the Vedic age. But it was untrue for the earlier part. This type of social division is called the Varna system in Hinduism.