Ghosts tell us more about how our brain works than they tell us about the afterlife or the soul. The beliefs we hold present an interesting information literacy problem. Beliefs help us filter out world. We ignore some information and emphasizes other information based on beliefs about how things work.
This video touches on how ghosts work.