Solar electricity

Explain how solar electricity can be used to replace crude oil as a more acceptable source.