Yes or No: Does the internal energy of the substance decrease while a gas condenses to a liquid

No. The internal energy of the substance does not decrease while a gas condenses to a liquid. The internal energy actually increases during the phase change because energy is released when the gas molecules come closer together and form intermolecular forces. However, the temperature of the substance may decrease during condensation.