Why do ghosts hang around a cemetery?
One theory on this is ghosts will stay near known, familiar areas or objects. And what is more known than our own bodies? Therefore, when a ghost is undecided on a happy place to reside or is newly dead they might want to stay attached to the body. Therefore, the ghost goes to the cemetery with the body and thus we can sometimes find a ghost in a graveyard.