ELI5: Explain Like I'm 5

Composite data type

A composite data type is like a fancy collection of different things, like a toy box filled with all kinds of toys. Just like how you can pick which toy you want to play with from the toy box, when you use a composite data type you can pick and choose which types of things you want to put together in one big thing.

For example, let's say you wanted to keep track of some people's names, ages, and favorite ice cream flavors. You could create a composite data type called "person" that includes a name (which is a text or "string" type), an age (which is a number or "integer" type), and a favorite ice cream flavor (which is also a string type).

So instead of having three separate things to keep track of, you can group them all together in one big thing called "person."

And just like how you can have lots of different toys in a toy box, you can have lots of different people in a composite data type called "people" (which would be a collection or "list" of the "person" composite data type).