What does the word phonics mean in the sentence below?

The teacher taught phonics during reading class.

A: The act of reading without stopping
B: the connection between letters and sounds
C: the practice of reading out loud to others in a group
D: the method of reading in which you reread material

B: the connection between letters and sounds