Definition: (.WSP) is a SharePoint Solution Package file, which contains features, site definitions, assemblies and other deployable resources. You can use Visual Studio to create Solution Package file (.WSP).
SharePoint solutions are deployed to SharePoint server by using Solution package – (WSP) file. This file contains all the resources that need to be deployed on the SharePoint server. The place of each file on the server is decided by the properties in Visual Studio.