Hibernate Query Language (HQL) is essentially an Object-Oriented Programming (OOP) query language that focuses on assisting Java in functioning mutually with Structured Query Language (SQL). HQL is also independent of databases. While SQL is reported initially to a Relational Database Management System (RDBMS), its function in Hibernate is to run any data queries into the RDBMS. Since in HQL, objects and their properties are aligned, it converts the incoming query and makes it readable for databases. HQL, therefore, acts as a medium between Object-Oriented Programming (OOP) and RDBMS to run queries successfully.