"How are depression, anxiety and panic attacks related?"

How are depression, anxiety and panic attacks related?