That group is based on scales – major and minor, and playing it produces a very melodic sound. The key of the song is, let's say, a group of tones and chords that are tonally related, or compatible. Almost all songs and compositions have their key, which makes it a very important part of the music.