A theodolite is a precision optical instrument used for measuring angles in horizontal and vertical planes. It plays a vital role in surveying, allowing civil engineers to determine land boundaries, establish reference points, and ensure accurate construction layouts. The device typically consists of a telescope that can be rotated, allowing surveyors to take precise angle measurements essential for creating detailed maps and plans.