Selecting a line (or a segment) and a point creates a straight line through that point stPerpendicular to the line (or segment).
Left: Point and Line, Right: stPerpendicular Line (in Red)
GeoGebra Applet:
Drag the blue points to see how the stPerpendicular Line (in red color) changes