It helps prevent water loss
Packing palisade cells tightly together means that the maximum amount of light can be intercepted. If there are big gaps between the cells then more of the light hitting the leaf will just pass straight through. Tightly packed palisade cells is one way in which leaves are adapted for photosynthesis.
Cells in the lower layers of the epidermis divide continually, producing new cells that constantly push through the layers of the epidermis. By the time those cells reach the outer layer of the epidermis, they are dead and ready to slough off.
The mesophyll has two layers. The outermost layer is the palisade layer that is made of tightly packed chloroplasts, and the innermost layer is the "spongy layer" that has air between its cells.
The epidermis is the waxy layers of some cells
Palisade
"Palisade Mesophyll" Layer
The upper leaf cells are tightly packed to trap the energy in sunlight.From: -Pearson Education,Inc.
Tightly packed cells
shitload
The spongy mesophyll and pallisade mosophyl layers form the middle layers of the leaf. The pallisade mesophyl contains many tightly packed cells which do photosynthesis. The spongy mesophyl contains mainly hollow space, allowing for gas exchange.
Some characteristics of the epidermis include flexibility and several layers. The epidermis also contains desmosomes. The epidermis is the outer layer of cells that cover an organism.
A plant's epidermis is primarily used for protective purposes, which it does by acting as a barrier to invaders (such as fungi). Another important function is in the prevention of water loss (for this reason, epidermal cells are packed tightly together). This water loss is further prevented by the waxy cuticle layer many plants have, located above the epidermal cells.