Where does the iPhone save contacts? Does the iPhone save contacts in the internal storage, SIM card and iCloud (if activated)?
I can see an option in Contacts to import from SIM.
I wonder if the iPhone stores contacts in all these places.
iPhone stores contacts in the location set by Settings → Contacts → Default Account. New contacts are stored on the internal storage of the device, and then synchronised with the account selected here. This can be iCloud if activated and selected.

Contacts can be imported from the SIM, but not saved to the SIM.