History command is used to list the log of previously used commands.
The main use of history command is to review the already used commands. When we use two terminals at the same time then the history command will be inactive and also the commands that are run during the force stop will be stored in history.
Executing history command without argument will list the entire history of commands we have run. To refine the search we can use arguments along with history command.