Extended chords use ninth, eleventh and thirteenth intervals (see compound intervals).
The example below shows a major seventh chord (C-E-G-B) with extensions of the ninth (D), eleventh (F) and thirteenth (A):
Note: we rarely use all the notes and extensions of a chord because it can sound too dense.
An example of a piece by Claude Debussy is shown below:
Gb Dominant 7th chord with 9th (Ab), 11th (Cb) and 13th (Eb)
C. Debussy, …La fille aux cheveux de lin
In this passage, he uses all the extensions of the G-flat dominant chord. However, he eliminates the third of the chord (Bb).
See our Reference section: