Objects in Salesforce is just like a database table. Objects support all the functionality you expect in a table, with additional enhancements that make them more powerful and versatile. Salesforce use object to store data in database.
Whenever we create a custon object, Salesforce create an apex class using suffix “__c”, suppose your object name “Employee” Salesforce create automatically a class named “Employee__c”. You can use this class to access all fields of “Employee” Object(Table).
There are two type of object: