A ruler is a straight-edged tool used for measuring length or drawing straight lines, commonly found in homes, schools, and offices.