What's the best place to store items inside of an inventory system?

Hello there!

I’m almost done making a pretty decent inventory system which you can simply store items by equipping an item, clicking on one of the available slots to store them, and vise-versa.

The issue is that I want the items inside of the inventory to save so that whenever leaves the game and comes back, all of the items inside of the inventory is saved. BUT, I don’t know which is the best place to store the items back.

What are the best places to store items?

Could use either ServerStorage or Datastores, like if a sword’s ID is for example A5, then you could save in datastores that the player had A5 in that specific inventory slot, and stuff like that, and when they rejoin, add a check to add their inventory back