Like all other GSM phones, an Apple iPhone has a SIM card in it. This can store your text messages and contacts list, but most importantly it is used to keep the information about your phone number and network service provider. In order to change your service provider, you will need to change your SIM card.

How to Change a SIM Card in an iPhone - 68