Relative keys
Also: relative minor, relative major
A major and a minor key with the same key signature: C major and A minor, G major and E minor.
The relative minor starts on the 6th note of the major scale: A in C major, E in G major. Three half steps down from a major tonic finds it; three up from a minor tonic finds its relative major.
Minor pieces usually raise the 7th (G♯ in A minor), written as an accidental. That sharp is the quickest way to tell the minor key from its relative major.
A minor starts on the 6th note of C major.