Postgresql
Database Management System (DBMS): Postgresql is a powerful, open-source relational database management system.
Functionality: It handles data storage, retrieval, and management.
Examples of operations: Creating tables, inserting data, running queries, and managing transactions.
PSQL
Command-line Interface (CLI): PSQL is the default interactive command-line interface for Postgresql.
Purpose: It provides a way to interact with the Postgresql database directly.
Common tasks: Executing SQL commands, querying data, and administering the database.
User Interface: pgAdmin provides a user-friendly graphical interface for managing PostgreSQL databases, allowing users to interact with the database using visual tools. PostgreSQL, however, does not have a graphical interface by default and is primarily accessed through the command-line or SQL queries.
PSQL is an interface you can access through the terminal to interact with Postgres databases. You can use it to connect to a database, add & read & modify data, check the available databases & fields, run commands from a file, and so on.
In essence:
Postgresql is the database itself.
PSQL is the tool you use to interact with the database.