A straightedge is any tool that can be used in geometric constructions to connect two points with a straight line.
Rulers are a common example of straightedges. Additionally, rulers can also be used for measurement — they have markings to determine the distance between two points.