Massive black spot on side of two molars, what are they?

I thought I brush my teeth pretty thoroughly as I'm always worried about dental issues, so I'm terrified to find these two massive black spots on the side of two of my molar teeth. Apparently not cleaning them enough. The only reason I found out is because the top one was hurting. What the hell are they? I'm quite worried now