A thermodynamic process, in which the volume of gas always same is known as isochoric process. In this process, the work completed by the body is zero.
Therefore from first law of thermodynamics, ΔQ = ΔU as the net work done Wisochoric = 0
Therefore in an isochoric process, the total heat energy absorbed by the system is used to change its internal energy.