Adding to David's excellent explanation the B can also be called as a passing chord. A passing chord is any chord(s) that connects two diatonic chords:

https://en.wikipedia.org/wiki/Passing_chord

PS - I have a guitarist friend who calls anything other than a 1-4-5 chord a "b a s t a r d" chord!


I'm no longer allowed to go caroling at the psych hospital.
I guess Do You Hear What I Hear was a bad song choice!

64 bit Win 10 Pro, the latest BiaB/RB, Roland Octa-Capture audio interface, a ton of software/hardware