In Buddhism, it's called Mindfulness - one of the Eightfold Path.
Mindfulness means maintaining a moment-by-moment awareness of our thoughts, feelings, bodily sensations, and the surrounding environment, through a gentle, nurturing lens.
Mindfulness also involves acceptance, meaning that we pay attention to our thoughts and feelings without judging them—without believing, for instance, that there’s a “right” or “wrong” way to think or feel in a given moment. When we practice mindfulness, our thoughts tune into what we’re sensing in the present moment rather than rehashing the past or imagining the future.
Well said @dieology. Your explanation provides additional insight into the topic. Thank you for commenting!