Solar energy is a free, inexhaustible resource, yet harnessing it is a relatively new idea. The ability to use solar power for heat was the first discovery. A Swiss scientist, Horace de Saussure, built the first thermal solar collector in 1767, which was later used to heat water and cook food. The first commercial patent for a solar water heater went to Clarence Kemp of the US in 1891. This system was bought by two California executives and installed in one-third of the homes in Pasadena by 1897.
Producing electricity from solar energy was the second discovery. In 1839 a French physicist named Edmund Becquerel realized that the sun's energy could produce a "photovoltaic effect" (photo = light, voltaic = electrical potential). In the 1880s, selenium photovoltaic (PV) cells were developed that could convert light into electricity with 1-2% efficiency ("the efficiency of a solar cell is the percentage of available sunlight converted by the photovoltaic cell into electricity"), but how the conversion happened was not understood. Photovoltaic power therefore "remained a curiosity for many years, since it was very inefficient at turning sunlight into electricity." It was not until Albert Einstein proposed an explanation for the "photoelectric effect" in the early 1900s, for which he won a Nobel Prize, that people began to understand the related photovoltaic effect.