It changes the shape of the preselected vertices or faces along the shape of the lattice.
Please put the lattice which becomes standard in [Move] mode or [Scale] mode. Then, when you drag every vertex of the lattice in [Edit] mode, the selected points changes the shape together with the change of the lattice.