Plants gather the sun's energy from light absorbing molecules called pigments. The main type of pigment is chlorophyll (a and b). The chlorophyll is located within the chloroplast, which, in turn is located within the palisade cells.
Anything that is considered alive must exhibit ALL 7 characteristics of life. A virus may show some characteristics, but it does not show all, so therefore, its not alive.