A cotton thread is pulled along unwanted hair in a twisting motion, to trap hair in a mini lasso, and lifts hair right out of the follicle. It's extremely sanitary. Nothing but the thread touches the skin, and it's thrown away after use.
The discomfort is similar to tweezing, but the process is much, much quicker. Some people say they have very little pain from threading.