Whiteheads are closed comedones and a type of acne. They occur when too much sebum, dead skin cells, and debris clog your skin pores. On the other hand, milia occur when keratin gets trapped at the base of the follicles, forming tiny and painless bumps.