Solar energy stored in the form of fuel is something scientists hope could partially replace fossil fuels in the future.