The cast system in india was initially based on the nature of work people did. there were four main castes. Bramhins(...) the knowledge-workers, Kshatriyas(...) the warriors, waishyas(...) the traders, and shoodras(...) the labourers. in very old times,caste was decided by work, but later on the system disintegrated into one where caste was decided by birth.