JDBC is a Java API that is used to connect and execute query to the database. JDBC API uses jdbc drivers to connects to the database.