I am very new to the Apex programming first.And I know about Standard & Custom objects. And also the the custom objects have an extension of '__c'. I observed in the programming lot of reference about the sObject but i am not getting the concept of it clearly.
As per definitions I understood it as: sObject is a generic abstract type that corresponds to any persisted object type. The generic sObject can be cast into a specific sObject type, such as an account or the Invoice_Statement__c custom object (Standard or Custom object type).
Can someone please help me to understand more about sObject. - When, where & How it need to be used?
If possible a scenario or example to explain this will be helpful.