Solar energy can be harnessed by using solar panels and converting it to heat energy. It can be used to cook food in solar cookers.