Cooking Glass?

Why is that Pyrex glass is used for cooking or baking while ordinary glass is not?