How might scientists make the batteries of the future?

Can the sun be used to give more than light and heat?