I didnt understand queue from multithreading

pl explain breifly about the example