In botany, the cortex is the outermost layer of the stem or root of a plant, bounded on the outside by the epidermis and on the inside by the endodermis. In plants, it is composed mostly of differentiated cells, usually large thin-walled parenchyma cells of the ground tissue system.