>>12328183One of many waste disposal systems for the body. It's a result of oils and dead cells building up inside of the pores. When you've eaten sugar, the process of creating glucose causes rising insulin levels, which lead to increased sebum production (the oil in your skin).
Since your skin is an organ, you need to properly treat it in order for it to protect your body. Inflammation in the skin might be a better alternative to inflammation within the body, so it's a defense mechanism, a painful one (I had cystic acne for a year+).