To prevent too much water from getting into the leaves
Guard cells are the only epidermal cells to contain chloroplasts. ... However, in plants that grow in very hot or very cold conditions, the epidermis may be several layers thick to protect against excessive water loss from transpiration. A waxy layer known as the cuticle covers the leaves of all plant species.