Db2 is a relational database management system; SQL is a structured query language. The DB2 system enables the creation of structures to store data, while SQL provides a method to extract data from a relational database.