This creates a tweening effect which just means that the object moves back and forth on a timeline between the start (green) to the end (red). To change the positions of the end and start just drag but for the end your current frame decides the speed that the object moves.