Discriminate means to perceive differences and use that perception to make a judgment.
- The players could not discriminate between a good golf hole and a bad one.
Distinguish means to recognize qualities or features of a thing that make it different from others.
- The groundskeeper could easily distinguish bent grass and Kentucky blue grass.