A major scale is a seven note diatonic scale. Whenever you see a scale or chord formula it is always written relative to the major scale. The major scale has seven modes starting with Ionian which is a major scales modal name, followed by Dorian, Phrygian, Lydian, Mixolydian, Aeolian and Locrian.