An affidavit is actually the written version of telling the truth by swearing under oath, just like it is the case when it comes to testifying in a court of law.
If you have a business at some point of time, there could be some form of information that you have to make public and it might be regarding your clients or the business itself.