How does a Sim Card Work?

A SIM card, used in a mobile phone gives a personal number to the owner and stores all phone numbers and text messages. If the SIM card is inserted into a different phone, it will store the numbers on that phone. Neat huh.