The invention relates to an optical component (1) comprising several layer structures, wherein a first layer structure (2) is designed as a photovoltaic cell and a second layer structure (3) is designed as a switchable planar lighting element. Alternatively or in addition, one of the layer structures can also be designed as a layer structure (4) having a transparency that can be electrically switched in a reversible manner.