JDBC provides a standard Java API for connecting to different relational databases. It defines four types of JDBC drivers and outlines the basic steps to connect to a database which include defining a connection URL, establishing a connection, creating statements, executing queries, processing results, and closing the connection. The documentation provides examples for connecting to databases like Oracle and MySQL.