Stratified epithelium is formed through the differentiation and proliferation of basal cells located in the deepest layer of the epithelium. These basal cells divide and push older cells towards the surface, where they eventually flatten and die, especially in keratinized tissues like the skin.