Smegma is the cheese-like secretion that collects between the glans penis and the foreskin or around the clitoris and labia minora. It is made of a combination of exfoliated skin cells, skin oils, and moisture as well as secretions from the apocrine glands in females and sebaceous glands in males.