In the Star Trek fictional universe, the Q are a race of omnipotent, immortal and omniscient god-like beings from a parallel existence called the Q Continuum.
They are largely indifferent to the affairs of the non-Q beings living in normal space, with a few exceptions. The most notable of these is Q, a mischievous Q
who periodically harasses the crews of starships and space stations. He also has a flair for the dramatic, whisking away the crew to exotic locations, engaging
in elaborate speeches, donning costumes and, even though he does not need to, snapping his fingers to engender many of his manifestations.