Energy was always needed by humankind and light and heat from sun was the gift of nature. Fire was used for heat and light around 500,000 years ago. Wood and chaff and other biomasses were used for fire.