Are obsession, depression, and anxiety related?

Are obsession, depression, and anxiety related?

They can be but not always , Depression and anxiety are the most common connected