Expiration Dates: What Do they Mean?

Expiration dates are stamped on the packaging of many kinds of foods. What do those dates mean, and what would happen if you ate food that was past its expiration date?