Flour is considered a raw agricultural product, and can be milled using various ingredients like wheat, almond, oat, millet, peanut, potato, rice, and spelt. No matter which type of flour you buy, the way you store it can greatly lengthen or shorten its shelf life, and thrifty cooks might consider moving their flour out of the pantry.