The title alone made this worth reading: Anatomy of A Brain Fart.
Money quote: The latest research seems to indicate that brain farts are a unique type of cognitive mistake. Unlike errors caused by lack of information or experience, or by distractions, brain farts are innate. They have a predictable neural pattern that emerges up to 30 seconds before they happen. When you are absorbed in inward-focused thinking such as daydreaming, a collection of brain regions jointly called the default mode network (DMN) starts furiously popping away. Neuroscientists don’t agree on exactly which parts of the brain compose this network, but they now believe it is one of the busiest neurological systems.