Thermodynamic process:
A system in thermodynamic equilibrium is disturbed by imposing some driving force; it undergoes changes to attain a state of new equilibrium. Whatever is happening to the system between these two equilibrium state is called a process. It may be represented by a path which is the locus all the states in between on a p-V diagram as shown in the figure above.
For a system of gas in piston and cylinder arrangement which is in equilibrium, altering pressure on the piston may be driving force which triggers a process shown above in which the volume decreases and pressure increases. This happens until the increasing pressure of the gas equalizes that of the surroundings. If we locate the values of all intermediate states, we get the path on a p-V diagram.