The purpose of writing a biography is to capture and share an individual's life story. Biographies provide insights into a person's experiences, achievements, and challenges, offering readers inspiration, knowledge, and understanding. They preserve the legacy of individuals, contribute to historical records, and celebrate the diversity of human lives.