The author, Isaac Asimov, is trying to teach us through this story
The Three Laws of Robotics, which were obviously devised by him so that men of the future will be able to have humanlike feelings. As examples of this author's intention it is worth to mention what the robot expresses through the story:
"One would like to have more expression,"
"One has thoughts and feelings that presently do not show."
In Charles Dickens's A Christmas Carol, Ebenezer Scrooge is visited by four ghosts on Christmas Eve: Jacob Marley, and the spirits of Christmas Past, Present and Future.