A database is an organized collection of structured data stored electronically in a computer system. There are three main tasks that can be performed with databases: 1) Create a database using the CREATE DATABASE statement, 2) Open an existing database using the USE statement, and 3) Delete a database using the DROP DATABASE statement. Databases typically store data in rows and columns within tables to make processing and querying the data efficiently.