An hourglass is a device used to measure the passage of time. It comprises two glass bulbs connected vertically by a narrow neck that allows a regulated flow of a substance from the upper bulb to the lower one due to gravity.