Are messages deleted when you reset your iPhone?

There are two options when reseting your iphone: there's 'Reset All Settings' and 'Erase All Content and Settings' what do each do in particular and do any of these delete messages? I'm in the process of just starting over with my phone and am deleting my iCloud and iTunes and will make a new one with a new email and I need to make sure that my messages and photos which are really important to me are still available when I start my phone up

Use "reset all settings" if you only wanna reset your iphone but not wanna erase anything from your phone, what you only doing is: resetting passwords, email addresses, and networks passwords like Wi-Fi and other stuff but it will not erase anything like apps contacts or pics and messages