Which sentence contains an analogy?

A.) The spelling bee is Sam's favorite event of the year.

B.) Sam is the new Babe Ruth.

C.) Sam is a human spell-checker.

D.) The spelling bee is to Sam as the World Series is to a baseball player.

D.