Thermodynamics studies heat, work, energy, and the changes they produce in the states of systems. Thus, a system changes its thermodynamic state by exchanging heat or work with other systems with which it interacts.
We will study equilibrium thermodynamics, systems start from a state of equilibrium and through reversible processes (which take place through infinitesimal changes) reach new states, also of equilibrium.