What is an author’s purpose in writing a biography?

Ato tell about his or her own life
Bto tell about his or her subject’s life
Cto tell about life at a particular time
Dto compare two people’s lives