Offshoring vs Outsourcing: A world of Difference

There has always been much confusion when using the terms Offshoring and Outsourcing. Are they the same thing or different? How are they different? Which term applies in which instance?