Outsourcing is the contracting out of an internal business process to a third party organization. The practice of contracting a business process out to a third party rather than staffing it internally is common in the modern economy. The term “outsourcing” became popular in the United States near the turn of the 21st century. Outsourcing sometimes involves transferring employees and assets from one firm to another but not always.
The definition of outsourcing includes both foreign and domestic contracting, and sometimes includes offshoring, which means relocating a business function to another country. Financial savings from lower international labor rates is a big motivation for outsourcing/offshoring.
The opposite of outsourcing is called insourcing, which entails bringing processes handled by third party firms in-house, and is sometimes accomplished via vertical integration. However, a business can provide a contract service to another business without necessarily insourcing that business process
source : Wikipedia