A gallon is a unit of volume equal to four quarts within the same measurement system. A US liquid gallon is about 3.785 liters. The imperial gallon is larger, so recipes and container labels need to be interpreted in context.
Reference: NIST unit conversions.