Your SIM card allows your phone to connect to GSM networks. Similarly, if your phone is unlocked, you can insert SIM cards from different carriers into it, which can be useful when traveling. When switching between phones, you’ll need to make sure that the new phone will accept the SIM card from your carrier.