The SIM card is what gives your phone its identity — it holds your Samsung Galaxy S10's phone number and other identifying information for the cellular network. It might also contain your contacts.
Your new Samsung Galaxy S10 Plus has a nano SIM card which shares a card tray with the microSD card. Needless to say, when you remove your SIM card, the SD card will also be unmounted and vice versa.