Answer :
The pizza box is a square because it needs to fit the circular pizza. The slices aren't technically triangles, since they have one curved edge. They do look like triangles, though!
The pizza box is square because the pizza needs to fit into the box and the pieces of pizza are not actually triangle because of the edge