SQL is the Structured Query Language which can be used to interface with databases. DB2 is a database management system created by IBM, and SQL can be used to interact with it.
If you want more information, please use Google - there is more than enough information available on the Internet.