What’s the scientific explanation for ‘ghost encounters’?

People all over the world believe they’ve seen or heard a ghost, but there’s no scientific evidence for spirits, hauntings or the paranormal. So what’s behind these “encounters”?