In general use enthalpy H: since H=U+pV, enthalpy includes internal energy (never mind the conditions)
consider the following, symbols: U=internal energy, p=atmospheric pressure, V=system volume, H=enthalpy, Q=heat-transfer, W=work, W'=work done by atm, W"=technical/usefull work (eg work pistonrod transfers to the system.
First law: dU=Q+W=Q+W'+W"
W'=-pdV, dU+pdV=dH=Q+"W", hence if W"=0 then dH=Q. (this is a conditional equality, not an identity)
enthalpy is best understood as a form of energy, ie the sum of internal energy and energy of displacement pV.
Heat Q is NOT a form of energy although this is what they tell us in highschool.
reference:
Mannaerts SHWM, Energy-balance of the Joule-Thomson experiment: Enthalpy change at decompression. npt-procestechnologie. 2010; 17(4)18-22. (can be retrieved at Reseachgate).