The movement of water molecules in and out of a cell is called osmosis.
Osmosis, or the diffusion of water molecules, is when water molecules flow in or out of a cell from high to low concentrations (down their concentration gradient). The ultimate goal of osmosis is to establish equilibrium between the cell and its outer environment.
Hope this helps!