On a 13 inch MacBook the Dock takes a real slice of the screen. I like it hidden while I work and visible when I’m looking for an app, and there’s a shortcut to flip between the two.
Press Option-Command-D. Apple’s list says it shows or hides the Dock. The Dock slides away, and it comes back when you move the pointer to the edge of the screen where it lives.
Option-Command-D show or hide the Dock
Fn-A same, on keyboards with Fn or Globe
It’s the same behaviour as the “Automatically hide and show the Dock” switch in System Settings under Desktop & Dock, so if you’d rather set it once with the mouse, that’s where it lives.
A use case: you’re editing a long document or a spreadsheet and want every row you can get. Option-Command-D, work, and press it again when you’re done.
If you hide it, other tricks for opening apps get more important: Command-Space and type the name, or Command-Tab for apps that are already running. And if you mainly want the Dock smaller rather than gone, the Size slider in the same settings pane is the gentler option. Apple also lists Control-Shift while you point at the Dock to turn magnification on or off for the moment.
Further reading: Mac keyboard shortcuts (Apple Support), Change Desktop & Dock settings on Mac (Apple)