Also written: in the key, in key
A diatonic chord uses only notes of the key's scale. The chords of G major are G, Am, Bm, C, D, Em and F#dim.
A chord with a note from outside the scale is not diatonic: it may be borrowed, a secondary dominant, or simply outside the key.
This example plays G, Em, C, D.