What does it mean if you dream someone died?

I barely got any sleep last night because I dreamed my husband died. I woke up crying and searching for him he was ok but I’m still worried. It was a terrible dream