<p>A conveyor according to the present invention is provided to improve work efficiency by moving each rail to a home position without the separate control of an operator. The conveyor comprises: a front fixed rail; a rear fixed rail provided in parallel with the front fixed rail; a front movable rail provided between the front fixed rail and the rear fixed rail to be movable in parallel with the front fixed rail; a rear movable rail provided between the front movable rail and the rear fixed rail to be movable in parallel with the rear fixed rail; a sensing unit to sense the positions of the front movable rail and the rear movable rail; and a control unit to select the home positions of the front movable rail and the rear movable rail based on the positions of the front movable rail and the rear movable rail sensed by the sensing unit and move the front movable rail and the rear movable rail to the selected home positions.</p>