I am confusing these terminologies. I want to make them clear
Hai do you mean beyond the descriptions provided by
I definitely recommend you to read the topics in the links provided by Dan. In a nutshell, a geoprocessing package is used to share a geoprocessing to with other persons that have access to ArcGIS Desktop software. A geoprocessing tool can be published to ArcGIS Enterprise (Server) and consumed by web applications and thereby shared to users that do not have access to ArcGIS Desktop software.
Retrieving data ...