A pimple, zit or spot is a kind of acne, and one of the many results of excess oil getting trapped in the pores. Some of the varieties are pustules or papules Pimples can be treated by various acne medications prescribed by a physician, or purchased at a drug store with a wide variety of treatments.
Inside the pore are sebaceous glands which produce sebum. When the outer layers of skin shed (as they do continuously), the dead skin cells left behind may become 'glued' together by the sebum. This causes the blockage in the pore, especially when the skin becomes thicker at puberty The sebaceous glands produce more sebum which builds up behind the blockage, and this sebum harbours various bacteria including the species Propionibacterium acnes, causing infection and inflammation.
To read more about this click here: http://en.wikipedia.org/wiki/Pimple