What is the effect of the following sentence?

The boy painted a picture for his mother.
His mother hung the picture on the wall.