We can confirm something is moving if there is a change in position of that body with respect to time.
for example we consider a body located at point A and after some time if its position changed to point B then there occured motion.
more detailed explanations you will study in higher classes