🎯 1. What is a Queue?

Queue follows FIFO → First In, First Out.

Just like a real queue:

Key idea:

✔ Order matters

✔ Processing happens in sequence


2. Why Queue Exists?

Queues are used when:

✔ Order of processing is important

✔ Tasks must be handled one by one

✔ Scheduling or buffering is required

Real-world uses: