Cue and queue are two words that are, surprisingly, pronounced exactly the same. A cue is a sign or signal, an indication that something should happen.
“Carlos took Maria’s nod as a cue that he could join her at the table.”
Queue is a synonym for line – the kind of line you stand in when you are waiting for something. It is used in British English, but usually not in American English.
“The queue was so long that they decided to do something else.”
It’s also used as a verb – to queue up, or line up.
As a noun, cue means a signal, alert or hint used to inform somebody to do something.
"He missed his cue, hence, his performance had a bad start."
Queue refers to a long line up of people, things, animals etc with each person waiting for their turn.
"I couldn't see the movie even after standing on the ticket queue for several hours."