I don't understand the difference between endothermic and exothermic?

Endothermic is when heat is entering or being absorbed by an object(in a process) and this will cause the surrounding temperature to decrease.

Exothermic- heat is released in a process, and the surroundings will increase in temperature