A hybrid energy-harvesting system is proposed that combines photosynthesis and photovoltaics. First, the light passes through a spectrally selective solar cell, which absorbs almost all green light but absorbs almost no blue and red light. The blue and red light are absorbed by a photosynthesis executing plant. The solar cell is tailored in such a way that the photosynthetic process is almost unaffected by the generation of electrical energy. The spectrally selective solar cell consists of an array of inorganic optical antennas. By combining a spectrally selective solar cell and a photosynthetic executing plant, a hybrid energy system is formed, which absorbs almost 100% of the visible light, while the energy conversion efficiency of the solar cell reaches up to 50% of their nonspectrally selective counterparts. Guidelines are provided on how to realize both the highly efficient spectrally selective solar cells and hybrid energy-harvesting systems. The proposed solution allows for the realization of new greenhouses or gardens covered with spectrally selective transparent solar cells that produce chemical energy in the form of fruits and vegetables and electrical energy.