Originally, sandglasses were used as a measure for periods of time like the lamps or candles, but as clocks became more accurate they were used to calibrate sandglasses to measure specific periods of time, and to determine the duration of sermons, university lectures, and even periods of torture.