The touchline in rugby refers to the boundary lines on either side of the field. If the ball or a player carrying the ball goes out of bounds, it is considered to have crossed the touchline, resulting in a lineout or a scrum, depending on the circumstances.