At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.
Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
Biomass and sun energy
however hydrogen is good to produce charge in electronic devices
Not the answer you are looking for? Search for more explanations.
Why do oil supplies need to dwindle? Since we're all set up for a hydrocarbon energy economy, the most obvious thing to do is start farming the stuff instead of mining it. There's some very interesting and promising early work in which various types of unicellular life are genetically engineered to produce useful hydrocarbons by photosynthesis -- the way they make their own hydrocarbon fuel. It would seem easier to push that technology to maturity, to be able, in essence, to have ponds in the Midwest in which engineered pond scum turned air, water and sunlight into diesel, then to develop a whole new way of amassing and transporting energy. As a bonus, the part of the Earth's carbon cycle that comes from combustion would be "closed," meaning humans would consume the same amount of CO2 their combustion activities emit. So no climate change worries.
In short, the best possible "solar cell" will probably always be the green leaf (or green alga).