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