Staging is a step before the commit process in git. That is, a commit in git is performed in two steps: staging and actual commit.
As long as a changeset is in the staging area, git allows you to edit it as you like (replace staged files with other versions of staged files, remove changes from staging, etc.).
Broken metaphor time:
Consider a scenario where you call the movers to get your stuff from your old appartment to your new appartment. Before you do that, you will go through your stuff, decide what you take with you and what you throw away, pack it in bags and leave it in the main hallway. The movers simply come, get the (already packed) bags from the hallway and transport them.
In this example, everything until the movers get your stuff, is staging: you decide what goes where, how to pack it and so on (e.g. you may decide that half your stuff will be thrown away before the movers even get there - that's part of staging).
From a technical point of view, staging also supports transactional commits, by splitting all operations into what can fail (staging) and what cannot fail (commit):
The commit in git is implemented transactionally, after the staging is sucessfull. Several steps in the staging can fail (e.g. you need to commit, but your HDD is 99.9999% full, and git has no space to perform a commit). This will fail in staging (e.g. your repository will not be corrupted by a partial commit) and the staging process doesn't affect your commit history (i.e. it doesn't corrupt your repository in case of an error).