The sun has an extremely important effect on plants. In fact, they cannot live without it, since they use the energy from sunlight for photosynthesis. The process of photosynthesis allows the plant to absorb energy through the chlorophyll in its leaves, which it then converts into food.

...
Plants make their food from the sun.

If a plant does not have access to sunlight, its leaves will turn yellow and it will grow spindly, weak and lopsided as it tries to reach up to whatever light is available.

Photosynthesis

Photosynthesis is the process by which plants absorb energy from sunlight and convert it into a simple form of sugar. Chlorophyll, which is the green pigment in leaves, is instrumental in changing the energy from sunlight into a usable fuel.

During photosynthesis, the plant also uses water and carbon dioxide. Plants respire, or breathe in, carbon dioxide and release oxygen in its place.

Two Stages of Photosynthesis

...
Tiny pores in the plant absorb carbon dioxide.

Photosynthesis occurs in two stages called the light phase and the dark phase. In the first stage, or the light phase, light is absorbed by the chloroplasts (cells in the leaves) and is converted into energy.

In the second stage, or the dark phase, sunlight is not required. During this time the energy that has been absorbed is used along with carbon dioxide to make glucose. A byproduct of this reaction is oxygen.

Other Requirements

Carbon dioxide and water are also required by the leaves in order for them to conduct photosynthesis. There are tiny pores within plant leaves called stomata. Carbon dioxide is respired or breathed in through these stomata.

Water is absorbed through the plant's roots and channeled up to the leaves through the vascular tissue system of the plant.

Leaves

...
Leaves are like solar collectors.

Leaves can be viewed as solar collectors. Chloroplasts (little cells in the leaves) actually conduct the photosynthesis with the help of chlorophyll, which is produced inside the chloroplasts. Chlorophyll is what gives leaves their green color.

Sunlight, carbon dioxide and water enter the leaves, and oxygen and sugar, which are the end products of photosynthesis, leave the leaves.

Chloroplasts

Chloroplasts are an integral part of photosynthesis. They contain several structures, each with a specific function.

The stroma is a dense fluid inside the chloroplast and it is the site where carbon dioxide is converted to sugar. The thylakoid is a flat sac-like membrane that converts energy from the sun into a chemical form. Chlorophyll is the green pigment from which leaves get their color, and it is the chlorophyll that absorbs the light energy.