Which figure of speech is used in this text?
The moon is a friend for the lonesome to talk with.
—Carl Sandburg, "Moonlight and Maggots"
A. personification
B. simile
Pick the correct answer from the listed options and provide the letter of the selected option.

A