photovoltaic cells use solar energy to produce electricity & solar energy is a renewable / inexhaustible resource
solar energy is a kind of renewable resource that is used by photovoltaic cells to produce electricity