Solar energy can be used in number of ways like water heating, space heating, cooking, separating salt from seawater in addition to that generating electricity using solar panels.