Outsourcing means hiring a third party for certain tasks, like software development. Companies outsource services to a different country in offshoring. Nearshoring, on the other hand, involves outsourcing to a nearby country.