Help! Dark spots under beasts?

Okay so I have had these dark spots appear under my breasts before, but they went away now they’re back. I’ve heard it has to do with like sweat and built up bacteria under the breast. I’m just not sure how to treat it. Any suggestions??? Also I’m not sure what group to put this in 😅 so sorry if i put it under the wrong one