The function of the mind is to generate thoughts, and they are important in many ways to help us govern our life in a certain way, the problem occurs when we incessantly think and start living in our minds which a lot of people do. With the practice of Meditation we learn to create a barrier between thoughts and us, we learn to start observing our thoughts, which in turn helps us to better respond to situations than reacting.