Term: nightmare
Example: oh no, i had a nightmare that i would fail my math test
Definition: a figment of your imagination