It's also a large component in many mental disorders (schizophrenia, tourettes, ocd). Attention really comes down the brain filtering out a mess of stimulation. When that filtering malfunctions we see mind do very funny things, e.g. repeated thoughts and delusions.