A liter is a metric unit used to measure the capacity of an object, but there are other metric units that can also be used! This tutorial introduces the metric units for capacity.
You could use pints, quarts, or even gallons to measure the amount of milk in a container. Those units are all examples of customary units of capacity. This tutorial introduces these helpful units!