Guitar Glossary: Key
Music based on a major or minor scale is regarded as being in a key. A song based on the C major scale would be in the key of C. This essentially dictates the notes which work within the song. You couldn't place a D# into a C major song without creating an unusual effect. This can jar with the overall feel of the music and risk it sounding atonal.