A major chord is formed by adding a major third and a perfect fifth to any note:

Major triads are found in the I, IV and V degrees of major keys:

See triads in minor scales in our Reference section
Practice triad construction, identification and ear training with our online exercises