You might think the temperature and heat are the same things in everyday language, but it's not true.
The term heat defines a quantity of energy (this quantity of energy has a special property) transferred and the temperature is generally defined as the sensation of heat, the sensation further depends on your body temperature. Defining temperature based on sensation only is not a good approach, for example, if your body temperature is higher than the surroundings, you feel the surrounding temperature lower, and if your body temperature is lower than the surroundings, you feel the surrounding temperature higher. The temperature scales are built to measure temperature.
You can see the direct relationship of the kinetic energy of an ideal gas and the temperature in the kinetic theory of an ideal gas. Which means more temperature means more kinetic energy of the molecules, that is, the vibration of the molecules is stronger.
Heat has a special property which is it always flows from the hotter region of a body to colder region of the same body or other bodies in contact.
Therefore, the heat has the flowing property - we can not say that a particular quantity of heat is contained in a body but instead the heat is defined as the energy transferred from hotter body or region to colder body or region due to temperature difference. Thus, heat is the energy in transit. The heat already started flowing somewhere as soon as you start to think that the body has a certain quantity of heat.
For example, the same amount of heat is supplied to a thin wire and a bucket of water which are at the same temperature initially such that the thin wire becomes red hot, the temperature of the red hot wire becomes very high but the temperature of the bucket of water is negligible (feels like the same temperature initially). The common point of confusion is that the heat of red hot wire is very high, but that's not true, instead the temperature of the red hot wire is very high.
Let's imagine that a particular amount of heat is transferred to a body and all parts of the body reach thermal equilibrium (all parts of the body are at the same temperature). When you cut the body into halves, both halves will have the same temperature but not the same amount of heat.
If two bodies have the same temperature, they are said to be in thermal equilibrium with each other. The Zeroth law of thermodynamics tells us that if body \(A\) is in thermal equilibrium with body \(B\) and body \(B\) is in thermal equilibrium with body \(C\), body \(A\) and body \(C\) will also be in thermal equilibrium.