SessionFactory provides the instance of Session. It is a factory of Session. It holds the data of second level cache that is not enabled by default.