What major chords are
A major chord is made from a root, major third, and fifth. Those three notes define the bright, settled sound of the chord.
Guitar chord diagrams turn those notes into playable shapes. Some strings may be open, some fretted, and some muted, so a good chord shape is as much about string control as finger placement.