Yes, the society was divided into four varnas, namely kshatriya, brahman, vaishya and shudra. The kshatriyas were the kings or protectors, brahmans were the priests and sadhus, vaishyas were the traders and shudras were the other people like peasants and cleaners, and were wrongly considered outcastes.