What's segregation?

IT means separation by some attribute: Boys and girls classes are segregration by gender.

Men's and Women's restroom are segregation by gender.

Children are segregated as safe to ride at amusement parks by height.

Segregation can also be by eye color, race, skin color, disability, age, and so on.