Dock

Add Application to Dock

Drag and Drop

Add running apps to Dock

Remove application from Dock

Drag and Drop

right click

Mac - Dock Display Settings (Customize)

How to use and set up your Mac