Thermoelectrics and its energy harvesting