NOVELTY - The photovoltaic cell to generate electrical power from the whole solar spectrum, and from near infrared to ultraviolet light, comprises a photosensitive layer having nanoparticles/nanostructures, and n-doped and p-doped charge transport layer per each photosensitive layer placed on each side of the photosensitive layer. The nanoparticles/nanostructures are the main light absorbing element in the photosensitive layer, show metallic conductivity, and absorb near infrared, visible and/or ultraviolet light through a surface plasmon or polaron mechanism.    USE - Useful to generate electrical power from the whole solar spectrum, and from near infrared to ultraviolet light.    ADVANTAGE - The photovoltaic cell is highly efficient at transforming each absorbed solar photon in electrical current, minimizes the loss of efficiency due to charge recombinations and charge dissipations associated with charge transport through random walk, and has maximized photoconversion efficiency.    DETAILED DESCRIPTION - The photovoltaic cell comprises a photosensitive layer having nanoparticles or nanostructures, n-doped charge transport layer and p-doped charge transport layer per each photosensitive layer placed on each side of the photosensitive layer. The nanoparticles or nanostructures are the main light absorbing element in the photosensitive layer, show metallic conductivity, and absorb near infrared, visible and/or ultraviolet light through a surface plasmon or polaron mechanism. The nanoparticles or nanostructures have their dimensions of size of 0.1-500 nm. The nanoparticles or nanostructures (50 wt.%) from all layers are contained in the photosensitive layer. The photosensitive layers absorb all light over the solar spectrum of 1800-300 nm. The cell has two or more classes of nanoparticles or nanostructures of different average dimensions and/or different compositions. The photovoltaic cell is a flexible cell on the basis of a polymer film substrate. The nanoparticles or nanostructures (60 wt.%) have a resistivity of less than 100 Omegam. The charge transport layer is a wide band-gap semiconductors. An INDEPENDENT CLAIM is included for a method of the preparation of a photovoltaic cell.    DESCRIPTION OF DRAWING(S) - The figure shows a photovoltaic cell structure.