The nature of ghosts