A plumb line is a simple tool used to establish a vertical reference line, crucial for ensuring structures are perpendicular to the ground. It operates on the principle of gravity, where a weight, or plumb bob, is suspended from a string, aligning itself with the Earth's gravitational pull to indicate true verticality.