The difference is the number of channels. For example, 2 channels means that you can use 2 speakers. 5.1 sound means you can use 5 speakers, e.g. center, front, and rear, and a subwoofer for the bass frequencies. That means you get the effect of surround sound, which is very good for games and movies.
7.1 will give you center, front middle and rear.