Database. Stateful in Salesforce

If you have ever worked with batch classes in Apex, you have probably come across the Database. Stateful interface.
Many developer use it…