The device which can convert heat energy into electrical energy is called:
Thermistor
Thermometer
Thermostat
Thermocouple
Both (C) and (D)