---
title: "Arrays and dictionaries"
url: /docs/en-us/tutorials/fundamentals/coding-5/landing
last_updated: 2026-06-25T22:10:57Z
description: "Learn how to store data in tables with arrays and dictionaries in Luau."
---

# Arrays and dictionaries

### Series description

Data structures are how coders store and organize entire sets of data. In Luau, data structures are tables. Unlike variables, tables can hold any number of values. Tables can store a list of high scores, a player's inventory, or all of an object's properties. Two types of tables covered in this series are **dictionaries** and **arrays**.

### Objectives and prerequisites

| **Learning Objectives** | Learn common structures for storing sets of information, such as arrays and dictionaries, and use cases for each structure. Be able to manipulate data structures, such as adding, removing, or returning values from a structure like an array. |
| --- | --- |
| **Prerequisites** | Have a general understanding of variables in Luau. Feel comfortable using conditional statements (`if` and `else`) and loops (`for` and `while`). |

### Series contents

| Article | Description |
| --- | --- |
| [Intro to arrays](/docs/en-us/tutorials/fundamentals/coding-5/intro-to-arrays.md) | Learn how to store like groupings of data together with arrays. |
| [Loops and arrays](/docs/en-us/tutorials/fundamentals/coding-5/loops-and-arrays.md) | Combine arrays with loops to repeat code with a disappearing path trap. |
| [Make changes to arrays](/docs/en-us/tutorials/fundamentals/coding-5/make-changes-to-arrays.md) | Add and remove values in arrays by coding a script to manage a player's inventory |
| [Intro to dictionaries](/docs/en-us/tutorials/fundamentals/coding-5/intro-to-dictionaries.md) | Organize complex sets of data with pairs using dictionaries. |