Bmaj7 is made of these notes: B (root), D# (major third), F# (fifth), A# (major seventh).
With this shape the strings sound like this, from the D string to the D string: D#, A#, B, D#.
A major seventh chord sounds dreamy and soft. It can replace the plain major chord, especially at the start or end of a song.
Bmaj7 belongs to these major keys: B major (degree I), F sharp major (degree IV).