Note: The following information is contained in the website http://www.circinfo.net/ , and it has been copied with permission. This is not an exact copy of all the information found on the website http://www.circinfo.net/ . For an exact text of the information contained in that site, please go onto the above mentioned site.
As a prelude to this, one needs to first understand the anatomy. The foreskin is composed of an outer layer that is keratinized (as is skin generally), and an inner lining that is a mucosal surface. The inner lining thus resembles other mucosal epithelia such as constitute the cervix, nasal passages and rectum. It had been suggested that the foreskin protected the glans from drying out and becoming keratinized. However, histological examination has shown the same amount of keratin in the skin of the head of the penis irrespective of circumcision status [345]. The inner layer lines a `preputial sac', which becomes a repository for shed cells, secretions, and urinary residue that accumulates [71, 265]. It is also a hospitable environment for the growth of bacteria and other microorganisms. During an erection the head and shaft of the penis extend so that the inner layer becomes exteriorized along the distal half of the shaft.