In music theory, the key of a piece is the group of pitches, or scale, that forms the basis of a musical composition in Western classical music, art music, and pop music.
Tonality or key: Music which uses the notes of a particular scale is said to...
Wikipedia