It can mean fantasizing, bragging, rambling. Fantasizing, dreaming. It also means wandering aimlessly and aimlessly.
It is said of the act of a person, which consists in boasting of his conditions, whether real or imaginary, especially that of bravery.