NOVELTY - The device (1) has heat pipe (3.1) provided with ends (3.1.1,3.1.2) The end of the heat pipe is in heat conductive contact with the source thermal energy (2) while other end of heat pipe is in heat conductive contact with the hot side (4.1) of the thermoelectric element (4). The heat conductive contact (5.1) of the heat-dissipating device (5) is connected with cold side (4.2) of the thermoelectric element provided opposite to the hot side of thermoelectric element.    USE - Device for generating electrical energy from thermal energy generated from flat plate collector, evacuated tube collector, photovoltaic cell, solar panel, radiator, components of oven, current transformer, underside of automobile, engine block, exhaust system, chimney exhaust stack, container with materials that provide thermal energy at phase transitions, electrical resistor, hot water bag, biogas plant, and human and animal body or solar concentrator (all claimed).    ADVANTAGE - Since the heat conductive contact of the heat-dissipating device is connected with cold side of the thermoelectric element provided opposite to the hot side of thermoelectric element, the electrical energy can be generated from thermal energy effectively. The heat conductivity of the heat pipes can be improved. The device can be manufactured at reduced cost. The thermal insulation of the components of the device can be improved. The occurrence of the thermal stress in the device can be reduced by the use of the heat pipes. The size and weight of the heat pipes can be reduced, so that the design of the device can be simplified. The efficiency of the device can be improved.    DETAILED DESCRIPTION - An INDEPENDENT CLAIM is included for method for generating electrical energy from thermal energy.    DESCRIPTION OF DRAWING(S) - The drawings show the schematic views of the device for generating electrical energy from thermal energy.    Device for generating electrical energy from thermal energy (1)    Thermal energy (2)    Heat pipe (3.1)    Ends (3.1.1,3.1.2)    Thermoelectric element (4)    Hot side of thermoelectric element (4.1)    Cold side of thermoelectric element (4.2)    Heat-dissipating device (5)    Heat conductive conduct of heat-dissipating device (5.1)