Noble Eightfold Path
Right mindfulness is the controlled and perfected faculty of cognition. It is the mental ability to see things as they are, with clear consciousness. Usually, the cognitive process begins with an impression induced by perception, or by a thought, but then it does not stay with the mere impression. Instead, we almost always conceptualise sense impressions and thoughts immediately. We interpret them and set them in relation to other thoughts and experiences, which naturally go beyond the facticity of the original impression. The mind then posits concepts, joins concepts into constructs, and weaves those constructs into complex interpretative schemes. All this happens only half consciously, and as a result we often see things obscured. Right mindfulness is anchored in clear perception and it penetrates impressions without getting carried away. Right mindfulness enables us to be aware of the process of conceptualisation in a way that we actively observe and control the way our thoughts go.
Buddha accounted for this as the four foundations of mindfulness: