You've learned arrays and objects separately. Now I'll show you how they combine to model real-world data.
Almost every application uses nested structures. A shopping cart is an array of product objects. A user profile contains arrays of friends and posts. APIs return objects with arrays inside. Once you can combine these, you can handle any data format.