Lines (or segments) are called perpendicular if their intersection with one another forms a right angle. You can see for yourself that if one of the angles formed by the intersection of two lines or segments is a right angle, then all four angles created will also be right angles.
Through any given line, there are an infinite number of perpendicular lines. Can you see why?
When working with geometry it is a common problem to have to find the distance between a line and a point not on that line. There are many different segments that could be drawn between the point and the line, but when you need to find the distance between the point and the line, it is implied that you are seeking the shortest distance. This is found by drawing the segment through the point which is perpendicular to the line, and taking its length. The distance between a line and a noncolinear point is represented by this segment.
In this figure, the shortest distance between the point C and the line AB is along the segment CD, which is perpendicular to the line AB.