A musical key determines the notes used to play a piece of music: it more or less corresponds to the dominant chord.

A specific system of musical keys is among the fundaments of Western music; this system developed from the ancient Greek and medieval system of musical modes, and it represents a particular, culturally determined, range of harmonic varieties within the twelve-tone scale.