How do you ask a database for exactly the information you need?
A database may contain thousands of records. Reading every row yourself would be slow and impractical.
SQL lets you write a question called a query. The database processes that query and returns an output.