A timer is used to measure time, especially in cooking.