There are many ways a boss could treat you unfairly at work.
Preferential treatment is one example.
The boss could promote another person instead of you, even though you were more qualified and had more experience.
The boss could give one person the best assignments and give someone else the job no one wants in an unfair manner.
Letting some get by with coming in late, but not others is another example.