In certain countries, people are divided into social and economic classes or a caste system.