It comes from the famous poem "Jabberwocky" by Lewis Carroll, where it is described as a fictional creature.