C6 is made of these notes: C (root), E (major third), G (fifth), A (major sixth).
With this shape the strings sound like this, from the g string to the D string: G, E, A, C, E.
A sixth chord sounds bright and a little old-fashioned, like swing or Hawaiian music. It can replace the major chord.