Answer : The Dharmasastras
explanation : The Varna system in Dharma-shastras divides society into four varnas (Brahmins, Kshatriyas, Vaishya and Shudras). Those who fall out of this system because of their grievous sins are ostracised as outcastes (untouchables) and considered outside the varna system.