Scalar quantity: The quantity which has magnitude only is called a scalar quantity. e.g., Distance, temperature and etc.
vector quantity: The quantity which has magnitude as well as direction and follows the law of vector addition is called a vector quantity. e,g., Displacement, velocity and etc.
Step 2: Finding displacement a scalar or a vector quantity
Displacement is a vector quantity that describes "how far an object is out of place"; it is the object's overall change in position.