does depression kind of go hand in hand with anxiety?

i have depression, and many times i’ve thought that i have more anxiety than the average person, like getting those panic-y out of breath feelings when all i’m doing is lying in bed.. does having depression kind of cause its own sort of anxiety?