Does Taking Out The SIM Card Delete Everything?

What happens if I remove my SIM card?

.

Does removing SIM card erase photos?

Will I lose my text messages if I remove my SIM card?

What data is stored on a SIM card?