A biography is a person's life story written by someone else;
whereas autobiography is one's story written by oneself.
Similarly, a testimony is a solemn declaration of one's wrong doing by someone;
while a confession is one's claim of oneself being a wrong-doer.