Alice's Adventures in Wonderland (also commonly referred to as Alice in Wonderland) was a children's book written by the 19th century Human author Lewis Carroll. The book tells the story of a girl named Alice who followed a White Rabbit into a fantasy world called Wonderland ruled by the King and Queen of Hearts, only for it to turn out to be nothing more than a dream.
In 2267, Dr. McCoy noted that the Shore Leave Planet looked like "something out of Alice in Wonderland", causing the planet to create versions of the characters White Rabbit and Alice. (TOS: "Shore Leave")
In 2268, when Captain James Kirk planned to disable the Alice series of androids on Planet Mudd using gaps in logic and high doses of irrationality, he told Pavel Chekov that he was going to "take the Alices on a trip through Wonderland". (TOS: "I, Mudd")
In 2365, as the crew was analyzing wreckage from the Charybdis, Captain Jean-Luc Picard said in response to the analysis, "Curiouser and curiouser." This response was first said by Alice in the second chapter of the book. (TNG: "The Royale")