What Makes A Document An Affidavit?

What makes something an affidavit?

.

What is an affidavit of documents?

What kind of evidence is an affidavit?

What exactly is an affidavit?