What does affidavit mean?

An affidavit is voluntarily made without any cross-examination of the affiant and is not the same as a deposition, it is a record of an examination of a witness or a party made either voluntarily or pursuant to a subpoena, as if the party were testifying in court under cross-examination.