The resistance offered by air and the friction of surfaces oppose the motion so the moving bodies have to stop after sometime. Had there been no friction, no force would have been required to keep a body in the state of uniform motion in a straight line (i.e., linear uniform motion).