This is just what I've come to conclude so far in my own personal experience:
Classes are used as organization in programming, so that you don't have 100000000 functions in one file, and helps you organize with respect to the purpose of the functions by separating them into class files.
In object oriented programming, however, some languages allow you make objects from classes, so you could have an array of Players, from the example you posted, where you could have any number of players playing a game, while keeping track of each of the Players attributes.
Classes are sort of like paragraphs in a paper. You'd never know what the hell was going on if you didn't add a space and an indent mark after your thought was finished
Enjoy.
Mistro116