A straight line that is drawn from left to right is known as a horizontal line. A horizontal line is drawn parallel to the x-axis. Similarly, a vertical line is a type of straight line that is parallel to the y-axis. Moreover, it is drawn from up to down. We can easily write equations of horizontal and vertical lines.