Operating system (OS)
The kernel plus the libraries, services and tools that make a computer usable. A desktop interface is optional.
Kernel
The core program that manages processes, memory and access to devices.
User space
The programs and libraries outside the kernel. A container brings its own user-space files while sharing a kernel.
Device driver
Code that lets the operating system operate a particular kind of device. Many drivers run inside the kernel.
System library
Reusable functions that applications use for common work, such as opening files or starting processes.
System service / background worker
A program that keeps doing work in the background, such as networking or scheduled jobs.
Shell
A program that interprets your commands and launches other programs.
Zsh
A shell commonly used in the macOS terminal.
Terminal / command-line interface (CLI)
A text interface for entering commands and seeing results. The terminal hosts a shell; they are different pieces.
System tools
Utilities for managing files, processes and other parts of the system.
Package manager
A tool that installs, updates and removes software packages and their dependencies.
Graphical user interface (GUI) / desktop
The windows, menus and controls through which you interact with a system.
Application / app
A program that performs a task for a user or another program.
Process
A running instance of a program, with its own execution state and resources.
Filesystem
The rules and structures used to organize and access files and directories.