JDBC is a Java API that allows Java programs to execute SQL statements and access databases. It defines interfaces and classes for connecting to a database, sending SQL statements, and processing the results. The example shows a basic JDBC program that connects to a MySQL "Coffee Break" database, performs SELECT, INSERT, UPDATE, and DELETE statements, and prints the results.