Whereas whole grains contain the entire grain kernel (the bran, endosperm, and germ), refined grains are milled to remove everything but the endosperm. Refined grains have a finer texture and a longer shelf life, since the oily germ in whole grains can become rancid once exposed to light and heat.