An affidavit is a formal, written statement of facts voluntarily made by a person, known as the affiant, under oath or affirmation. It is administered by a person legally authorized to do so, such as a notary public or a magistrate. The purpose of an affidavit is to provide written evidence that can be used in legal proceedings or for various administrative purposes.