Every thought serves a purpose, even when we don't immediately perceive it.