Lorazepam

My Dr. just changed my med and I as soon as I pick it up I am supposed to start taking Lorazepam.
I thought this med was for anxiety, not depression.
I do have extreme anxiety, but I am worried about the depression.