The peck is a unit of volume in the US customary unit system. It uses the symbol pk.
1 US peck is equal to 1/4 of a US bushel. This is also equal to 2 US dry gallons, 8 US dry quarts or 16 US dry pints. In SI / metric, this equates to 8.809768 L.
Although the imperial peck is almost obsolete, it survives in some places in the USA - where some products (namely apples) are still sold by the peck.
It appears in the old English nursery rhyme; 'Peter Piper' where he 'picked a peck of pickled peppers'.
The liquid gallon is a unit of volume in the US customary unit system and uses the symbol gal.
It is the most common use of the word gallon and is defined as 231 in³. It is made up of 4 quarts where there are 2 pints in a quart and 16 US fluid ounces in a US pint. There are therefore 128 US fluid ounces in a US gallon.
The term gallon is most prevalent when discussing and trading oil and fuel. To ensure consistency, the temperature of the liquid (typically petroleum or alcohol) is understood to be 15.6 °C (60 °F) at the time of measurement.