How do you install web parts in SharePoint ?

sharepoint 2013 2016
There is a process in installing and configuring web parts, you have to login to site with site admin permissions, now go to parent/root site settings then go to web designer gallery => web parts then go to file tab and select upload document and then add web part file with .dwp and then click ok, later on you can use to attach it to respective web pages by using insert tab.