Each time you click on the "save" button in a component, a revision is created, that keeps track of all the changes done. This allows to know the state of your components at any given point in time. The Revert function uses those revisions in order to restore the version of a component at a given point in time.

The change log can be viewed for the whole environment, or per element.