I came across the following, “Understanding wpdb and $wpdb: For performing database operations WordPress provides a class wpdb which is present in the file – wp-includes\wp-db.php.”
The “file – wp-includes\wp-db.php” exist as a piece of code in the WordPress core files. The open source to this is that there exists a “function” called “$wpdb.” This function is “Open” to examination to so that one can better understand $wpdb.