Floor sanding removes a smaller amount of wood than floor planing. In most cases, sanding the floor is sufficient to get the desired result; usually we only sand about a millimetre to remove small scratches and discolouration.
Floor planing by comparison is used for very worn floors as it removes 2-4 times as much wood. This also means that it is not possible to perform floor planing many times.