Better Understand the Dock - The Dock (Windows users, think 'toolbar') initially resides at the bottom of the screen with icons that represent the capabilities, documents and storage locations that your Mac may access…
XX--mousing over the icons, reveals names of the items.
There is a vertical dividing line on the Dock.
Re-Size the Dock by clicking and dragging on the vertical line, up and down
The left side it has applications, the right-side is a place for documents and folders, and storage locations, if they are put there.
Click once on an icon on the left, to launch a program.
To add an item to the dock, click on the document or folder and drag it down to the dock, wait for the icons to move aside, then release.
To remove an item from the dock, click on the icon, drag it away from the dock, wait a second, 'Remove' appears, 'release’. Icon’s gone from the Dock.
To show an item's actual location… Right-click an icon, view the pop-up, select Options > Show Items in Finder.
Accidentally remove it from the dock..? Re-add it to the dock... Go the lower left corner of the screen, click on the Blue Finder icon, select the Applications folder, and select the application, and drag it onto the dock, waiting for Icons to move-aside, then release.
Apple Menu > System Preferences > Dock, provides options to customize your Dock’s behavior.
60 sec Tech.com
The dock shows only some programs that reside in the Mac's applications folder.
Although one may have removed an item from the dock, this action, does not remove the document or application from the Mac computer itself. To do that, you have to find the original, and drag it into the Trash.
Apple makes an effort to design a similarity between iOS applications, and Mac applications. If you may like mail on the iPhone, you may find a similar experience with Apple's Mail program on the Mac.
At the bottom of the applications folder is a utilities folder, typically which holds tools for more Mac Computer related tasks.
The Mac computer comes with many standard applications and third-party applications may be added.
Safari is an application like Internet Explorer Firefox or chrome they go out to the Internet and present web Pages and content.