The role of gluten in the preparation of the dough is to 'bind' the water and 'trap' the carbon dioxide emitted by the yeast, to produce the swelling.