fish is a shell: the program that reads the commands you type in a terminal and runs them. It helps as you type, with suggestions, colour-coded mistakes and Tab completions that describe each option, but its scripting language is not bash's.
The terminal is the window, the shell is the program inside
The two words get used as if they meant the same thing. A terminal is the app that opens a window, draws text in it and passes on your key presses: Terminal on macOS, Windows Terminal, the panel in VS Code. A shell is the program running inside that window. It prints the prompt, reads the line you type, works out which program you mean, starts it and hands over your arguments.
bash, zsh (the macOS default) and fish are all shells, and any of them can run in any terminal. You can start one inside another, which makes fish easy to try without changing a setting:
brew install fish # macOS
sudo apt install fish # Debian or Ubuntu
fish # start it
exit # back to your old shellfish greets you with 'Welcome to fish, the friendly interactive shell', the phrase its name is short for.
What fish does while you type
Most shells wait for a finished line and then report what went wrong. fish reacts to each key press. zsh can do much of this too, but only after you install and configure plugins. In fish it is built in and switched on.
Autosuggestions
As you type, fish shows the rest of a likely command in grey after the cursor. The suggestions come from your command history, from completions and from file paths that exist. Type two letters of a long command you ran last week, and fish offers the whole line back:
Wondering how this was made? How we make these