Need help with inventory slots

So, I’m trying to make an inventory system, and I need to put the inventory slots into a table. How should I do this?

What is the problem?

Why can’t you just put items into a table?