Jacob Marley visits Scrooge, as a ghost, too warn him about how his greedy, money hungry actions will have concequences in the afterlife (links too the audiences religious views). The metaphor is used too show the audience they will end up like Jacob Marley if they don't change.