WHY DOESN'T THE CHOCOLATE IN THE CHOCOLATE CHIP COOKIES MELT?
Chocolate melts when heated, but when you bake chocolate chip cookies, you don't end up with a gooey mess.
Why? Cooking chocolate tends to have less cocoa butter than eating chocolate, which raises the cooking chocolate's melting temperature and makes it more difficult to melt.
However, the chocolate will still melt in the oven. The chocolate chips in your cookies are simply held in shape by the surrounding cookie mixture. When the cookies cool, the chips solidify again, so it looks as if they never melted.