What is a CLI?
CLI stands for command-line interface. You control a program by typing commands, not by clicking buttons. You do that in the terminal, a text interface for running text-based programs (opens in a new tab). The words "terminal" and "command line" are often used interchangeably.
Why type instead of clicking?
If you know the commands, you can get complex work done quickly. MDN, Mozilla's web documentation, gives the example of renaming hundreds of files: one command does it, while it takes a long time with the mouse in a file manager. A terminal is also useful for automating work.
An example
Password managers have a CLI too. With 1Password (opens in a new tab) and Proton Pass (opens in a new tab), a script uses it to fetch a password without storing it anywhere as readable text.