Is the matter same when you have cookie dough then bake it to cookies?

No, the matter is not the same when you have cookie dough and then bake it into cookies.

When you have cookie dough, it is a mixture of ingredients that are not yet fully combined and cooked. The dough contains flour, sugar, butter, eggs, and other ingredients that are all in a raw state. The matter in cookie dough is therefore a mixture of solid and liquid particles, with some of the solid particles being very small and some being larger.

When you bake cookie dough, the heat from the oven causes the ingredients to change. The flour and sugar will begin to cook and combine to form a dough that is more solid. The butter will melt and then solidify as the cookies cool, and the eggs will cook and solidify. The other ingredients will also undergo chemical changes as they are heated, such as browning and caramelization.

As a result of these changes, the matter in cookies is different from the matter in cookie dough. The cookies are now a solid, rather than a mixture of solid and liquid particles. The cookies are also more dense than the dough, and they have a different texture and flavor.