I think ghosts are just a figment of imagination, if someone close to you, or someone you know dies it can mess your head up and people tend to convince themselves that their loved ones are still there. People can plunge into denial upto to the point of hallucination. But saying that, there is no conclusive proof of them not existing.