discriminate

Definition

To recognize and distinguish differences between things; to treat someone unfairly based on their membership in a particular group.

Example

"It is illegal to discriminate against employees based on their age or gender."