Event sourcing is a practice that allows representing application state through a series of "events" that represent the full history of said state.
The idea comes from other fields of engineering, accounting, banking, legal and similar more mature fields.
For example, in the context of banking, the balance of your bank account is computed off the list of all past transactions, and never stored as-is, as that would remove any papertrail on how the money was moved.