system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5 why do people with dementia sometimes have really inappropriate sexual behavior?

I understand that dementia impairs the brain but im just curious - is there a common factor among the people who exhibit these behaviors?
gpt
The prefrontal cortex is the area of the brain that governs inhibition.

You're standing at a bridge and looking over the edge, and suddenly get the thought to jump. You don't = prefrontal cortex.

You see a beautiful woman with enormous... Tracts of land. You want to grab them. You don't = prefrontal cortex

You're in an argument with a child and feel extremely angry. You want to hit them. You don't = prefrontal cortex.

The limbic system is the "emotional" part of the brain (emotional, sexual urges, addiction, impulses). 

In dementia, Alzheimer's and some neurodegenerative disorders, the inhibitory connections from the prefrontal cortex to the limbic system are lost.

So, more impulsive actions are taken which normally would be restrained.