A biography- a book about a person's life written by someone else.
autobiography- a book that someone writes about his or her life.
and a memoir- a book a person writes about a particular time in his or her life; it does not cover from the birth to death.
Hope this helped!