Trains change track using a machine that switches the direction of the rails. The switch or point machine moves blades of rail into place that change the direction of the train wheels. Deciding which track a train should use is the job of the train controller, though it is usually handled automatically by computer.