Attention focused on the breath redirects your awareness from outside your body to inside it. It is an exercise in controlling the focus of your awareness.