JDBC (Java Database Connectivity) is a Java API used to connect Java applications with databases and execute SQL queries.
It allows Java to:
Basic flow:
Java Application
↓
JDBC API
↓
JDBC Driver
↓
Database
Your Java code uses JDBC interfaces/classes, and the JDBC Driver handles communication with the specific database.
A JDBC Driver is software that allows Java/JDBC to communicate with a particular database.
Examples: