Is there any specific thing that influences your dreams?

for me i always dream about my fav people and where i've been that day, but other times it's so obscure i can wake up afraid. i never have nightmares about frightening things i've seen though. anyone else? how can you guess what your dreams will be about?