Suppose you and your friend are sitting in a moving car. Then your friend is in motion with respect to:
a person standing on the ground
A body is said to be in motion when it changes its position with respect to an observer. As your friend does not change his position, he is at rest with respect to you. But, for a person standing on the ground, he changes his position; he is in motion with respect to a person standing on the ground.