The separation of people into different residential areas based on race, ethnicity or socioeconomic status.