Mental Model
A queue is a line where elements wait their turn. Using a linked list means each element points to the next, so we can add at the end and remove from the front easily.
Analogy: Imagine a line of people waiting to buy tickets. The first person in line is served and leaves, and new people join at the end of the line.
front -> [1] -> [2] -> [3] -> null β rear
βfront points here
βrear points here