Your rating is a number that estimates your skill. Win against a stronger opponent and it rises more; lose to a weaker one and it falls more. Over many games it settles near your true level.
This page breaks down how ratings are calculated, what the numbers represent, and how skill levels are grouped so you can find balanced matches.