How does toast tost?

Do you mean WHY DOES TOAST TOAST? Because it's heated and turns brown.