What’s the difference between a short sale and a foreclosure?

What’s the difference between a short sale and a foreclosure?