What is discrimination in office?

Discrimination in an employment context refers to behavior that has the purpose or effect of harming some individuals by virtue of their membership in a protected class. This encompasses a wide range of attitudes, conducts, and processes that produce differential results without appropriate justification.

Discrimination demotivates employees, foe example if a employee is productive in work but the boss prefers and gives promotion to other employee who is less productive but is of his same caste and religion, that is complete discrimination and it is unlawful.