Leveling system

Why is my level 21 and my character is only 8?

Why do I have two different levels anyways?

Can someone explain or direct me to a place that explains leveling in this game.