Leaf cells are specialized to optimize photosynthesis. Cells in the upper portion of the leaf are tightly packed and dense with chloroplasts to capture light energy. Cells in the lower portion are more irregularly shaped and loosely arranged to allow better exchange of oxygen and carbon dioxide. The difference between upper and lower parts of the leaf is also important for making new branches; new buds are made from the base of the upper, and not the lower, side of the leaf.