Why so many different ways to declare an array-like structure? Tuples, Sets, Dicts, Lists? Dude... ffs, I know each one supposedly has a "different" purpose, I literally don't see any good benefits on it. It just makes me more confuse.
They are called data structures. Dude, if you can't tell the difference between them, I question the kind of code you're writing. Did you learn writing php first?
It sounds like you didn't study computer science but picked up coding as a side hustle and have yet to understand the absolute basics. Maybe pick up a book or follow a course someday. Things will make more sense then.