A vertical line is a straight line that runs perpendicular to the x-axis, passing through the same value on the x-axis at all points along the line. It has a constant x-coordinate and is used to represent equations where the independent variable, x, does not change.