Displacement can be said to be the shortest length from the initial position to the final position of a body in motion.
DIsplacement is a vector quantity. Hence, it has magnitude and direction.
It can also simply be defined as the change in position of an object.
While distance is the total length covered or traveled by a moving body.
Distance is a scalar quantity. Hence it has only magnitude.
Therefore, displacement is the change in position of an object while distance is the total length covered by an object in motion.