When a library keeps versions, SharePoint stores each version of a file, so that you can see who changed what, look at an earlier version, and restore it. Open the history with Versions.
A library can keep major versions only, or major and minor ones. A major version (1.0, 2.0) is one ready for others to review; a minor version (1.1, 1.2) is a draft. You choose which when you check in. If your organization limits the number of versions kept, the oldest are deleted permanently when the limit is reached.
When a library requires approval, a file stays pending until someone with permission approves it; people who cannot see drafts see the last approved version.