Why does Food Spoil?

Certain foods must be kept at a certain temperature, or should be eaten within a certain period of time before is spoils. For example, leaving milk at room temperature for a long period of time will cause it to coagulate. Dairy products are especially prone to spoiling and should always be kept refrigerated or frozen.