The phrase
"brain fart" refers to when someone momentarily forgets or has a lapse in their thinking or speech. It's like a small mistake or error that happens in our brains, just like a fart can be an unexpected noise or smell that happens in our bodies.
Full definition