Hibernate is an ORM tool for data persistence. Hibernate adds a lot of feasibility while dealing with the database. It provides with ORM where in you are able to perform database transaction in the form of objects mapped to the corresponding table, using XML configuration files.
Spring is a framework for enterprise applications. Spring supports hibernate and provides different classes which are templates that contain the common code. Spring, on the other hand, is a framework that helps you follow the MVC architecture in an effective and efficient way. It reduces writing back end code as well as front end stuff providing clear demarcation simultaneously.