Which of the following italicized phrase indicates a purpose?
A She said it for fun, but others took it seriously.
B
B. For all its efforts, the team didn't win the match.
C
C. Linda has worked for the firms for 20 years.
D
D. He set out for Beijing yesterday.