Flour provides the structure in baked goods. Wheat flour contains proteins that interact with each other when mixed with water, forming gluten. It is this elastic gluten framework which stretches to contain the expanding leavening gases during rising. The protein content of a flour affects the strength of a dough.