Heat flows by virtue of a temperature difference. Heat will flow until temperature gradients disappear. When heat flows, energy is transferred. The sign convention is that heat is positive when it flows to the system from the surroundings and negative when it flows from the system to the surroundings. System is defined as a portion of the universe that is chosen for Surroundings l thermodynamic discussion and System