What happens to the movementof particles as a substance from a gas to a liquid?

the force between the substance molecule is increased and due to the increasing of the force, the molecule bocome nearer to each other until they form a liquid