An hourglass is a device used to measure time, consisting of two glass bulbs connected by a narrow neck that allows sand to flow from one bulb into another. As the sand flows through the narrow neck, it represents a fixed amount of time, typically measuring minutes or hours.