When a gas expands adiabatically
No energy is required for expansion
Energy is required and it comes from the wall of the container of the gas
Internal energy of the gas is used in doing work
Law of conservation of energy does not hold
ΔQ=ΔU+ΔW=0⇒ΔW=−ΔU
if ΔW is positive i.e., gas does work then ΔU should be negative meaning internal energy is used in doing work.