Mind is the stat that indicates the peep's mental state and is like an approval rating of your station. Everything affects a peep's mind points and there's no one facility that can be built for a quick fix. When a peep's mind points reach zero they will leave your station.
This attribute leads to a small passive energy gain per peep, based on the average happiness (10000 happiness gives 1 energy). This may be disabled in some scenarios.