In a cyclic process ΔQ=0.
The First Law of Thermodynamics states that energy can be converted from one form to another with the interaction of heat, work and internal energy, but it cannot be created nor destroyed, under any circumstances. Mathematically, this is represented as
Q=ΔU+W
with,
Q is the heat exchanged between a system and its surroundings,
ΔU is the total change in internal energy of a system,
W is the work done by or on the system.
For a cyclic process, change in internal energy is zero. Q=W.