A railroad switch, turnout or [set of] points is a mechanical installation enabling railway trains to be guided from one track to another, such as at a railway junction or where a spur or siding branches off.
The switch consists of the pair of linked tapering rails, known as points (switch rails or point blades), lying between the diverging outer rails (the stock rails). These points can be moved laterally into one of two positions to direct a train coming from the point blades toward the straight path or the diverging path. A train moving from the narrow end toward the point blades (i.e. it will be directed to one of the two paths depending on the position of the points) is said to be executing a facing-point movement.
Unless the switch is locked, a train coming from either of the converging directs will pass through the points onto the narrow end, regardless of the position of the points, as the vehicle's wheels will force the points to move. Passage through a switch in this direction is known as a trailing-point movement.
A switch generally has a straight "through" track (such as the main-line) and a diverging route. The handedness of the installation is described by the side that the diverging track leaves. Right-hand switches have a diverging path to the right of the straight track, when coming from the point blades, and a left-handed switch has the diverging track leaving to the opposite side. In many cases, such as rail yards, many switches can be found in a short section of track, sometimes with switches going both to the right and left (although it is better to keep these separated as much as feasible). Sometimes a switch merely divides one track into two; at others, it serves as a connection between two or more parallel tracks, allowing a train to switch between them. In many cases, where a switch is supplied to leave a track, a second is supplied to allow the train to reenter the track some distance down the line; this allows the track to serve as a siding, allowing a train to get off the track to allow traffic to pass (this siding can either be a dedicated short length of track, or formed from a section of a second, continuous, parallel line), and also allows trains coming from either direction to switch between lines; otherwise, the only way for a train coming from the opposite direction to use a switch would be to stop, and reverse through the switch onto the other line, and then continue forwards (or stop, if it is being used as a siding).