Leviathan
Hobbes suggests that the persistence of a vision after the eyes have been closed indicates that the ocular sensory apparatus is still in motion; this motion is no longer immediate sensation, but imagination.
Fear stems from ignorance of causes and that religions have been invented to posit causal forces in an effort to dispel fear.