Can i put glass in an oven?

i’m going to make brownies and i dont have the pan, but instead can i use a glass pan?