it puts the iPhone back to factory settings with nothing on it
To begin to restore your iPhone data from the backup, connect your iPhone to the computer that you normally sync it to that contains the backup file, including any pictures, music, videos, and contacts.
It deletes everything from your iPhone and re-syncs it with all of your apps and music. Don't worry you won't lose anything and it might take a few minutes.
<Edited By Host>