Can I change the iPhone SIM card?

I found a broken iPhone on the ground. I kinda wanted to take the sim card out and put it in my IPhone it see who's it is and be a detective etc. Would this work? Is it as simple as swapping out the cards or is memory stored elsewhere?

There won't be any real information on that SIM. If that SIM is still active you will just have that persons phone number.