woolgathering (n.) Look up woolgathering at Dictionary.com
1550s, "indulging in wandering fancies and purposeless thinking," from the literal meaning "gathering fragments of wool torn from sheep by bushes, etc." (see wool + gather).