Heat transfer and energy transformation