What would restoring my iPhone do?

I was trying to download the new ios, and it turned off my phone, and now saying I have to connect to iTunes. When I did that, it was telling me to restore it. Will I loose all my data? And if so, what can I do to get out of this! My phone won't let me do anything until I "restore" it. I'm scared to loose everything!

Before it updates when using a computer iTunes does a back up so when you restore your phone after iTunes has put the latest iOS on it will ask you if you want to restore the last back up it did or start as a new iPhone. Choose restore and all your files will be put back onto the phone.

It will restore all your setting to factory settings. As for your data, it is all stored in iTunes so after you restore just sync with iTunes to get all of it back.

Yes, restoring an iPhone will make you lose all your data on it.

However, though iPhone uses quite a different storage mechanism, still you can recover deleted or lost data (such as text messages, contacts, photos etc) with a third party specific iPhone data recovery software called Tenorshare iTunes Data Recovery. I used it to recover lost contacts and photos from iPhone 4s and it worked. You may give it a shot, too.

By the way, you can get it from https://t.co/Y8pHj3sU

Hope I help!