The internal energy of a system remains constant when it undergoes.