The beginning of the Sutras so concisely states the reason for yoga. I needed some placeholder text for a web page, and paraphrased the first five. It seemed worth recording:
Yoga is the stilling of the mind. Then the Consciousness focuses on things as they are. At other times, the mind becomes associated with the experiences of the senses and — as in a dream — lives in a fantasy.