Anxiety refers to a condition whereby you experience fear and uncertainty, due to a myriad of reasons usually involved with transition periods in life.
Most people who haven't themselves been plagued with nightmares, or watched a loved one suffer with nightmares, are probably under the impression that a person having any form of bad dream during the night is having a nightmare.