An affidavit is a written statement made under oath or affirmation, typically used in legal proceedings as a way of providing evidence. It is a formal declaration made before a notary public or other authorized official. A petition, contract, and deed are also important legal documents, but they are not used specifically to make statements under oath.