Oil glands produce a substance called sebum. If sebum blocks the pores of your skin and combines with bacteria, you can develop spots.
The glands on your face, back, shoulders and chest are more active when you reach puberty.
So, make sure that you wash regularly and whatever you do don't pick or squeeze them, as this makes them worse.