This is the definition of attention by William James, in his book called "Principles of Psychology". He said,
"Everyone knows what attention is. It is the taking possession by the mind, in clear and vivid form, of one out of what seem several simultaneously possible objects or trains of thought. Focalization, concentration, of consciousness are of its essence. It implies withdrawal from some things in order to deal effectively with others, and is a condition which has a real opposite in the confused, dazed, scatterbrained state..."
William James studied attention during a period where introspection was widely used in understanding psychology. After him came a period, 1950 onwards, where study through behaviorism took precedence instead.
There were also other arguments about attention. The early selection model states that people actually do not process all the semantic content they hear. The mind shuts out or attenuates the sounds not focused on. An alternate hypothesis was that we actually process all of the sounds we hear whether we pay attention to it or not. The semantic content of the sounds just do not get into our conscientiousness.
The following video is quite interesting with regards to our abilities to pay attention.
There is also a theory called the Future Integration Theory, where it states that our attention on a certain object is combined with other characteristics that define the object. The model states that we actually consciencely experience certain things as a whole.
Also, try out this Stroop Effect test.