Blackheads, whiteheads, closed comedones, and open comedones are all precursors to acne. When excess sebum produced by the sebaceous glands combines with dead skin cells and blocks hair follicles, it creates an anaerobic environment. This oxygen-deprived condition promotes the growth of Propionibacterium acnes, a type of bacteria that can cause inflammation and lead to the development of pimples.