The instance of Configuration is used to specify the database properties, such as URL, username and password, the location of mapping files, or a class containing information about mapping of data members to the tables and their columns. This Configuration instance is then used to obtain the instance of SessionFactory.