 Thus the system naturally progresses to a state of maximum disorder or entropy.As temperature governs the transfer of heat between two systems and the universe tends to progress toward a maximum of entropy, it is expected that there is some relationship between temperature and entropy.A heat engine is a device for converting thermal energy into mechanical energy, resulting in the performance of work.