Mental Model
A queue is like a line where the first person in is the first person out. Using an array, we keep track of where the line starts and ends.
Analogy: Imagine a line of people waiting to buy tickets. The first person to get in line is the first to get the ticket and leave the line. The array holds the people, and two markers show who is first and last.
front -> [ ] [ ] [ ] [ ] [ ] ← rear indexes 0 1 2 3 4