A measuring cup is used to measure the volume of liquid or dry ingredients accurately for cooking or baking recipes.