A notary public is a person appointed by state government to witness and certify the signing of legal documents, such as contracts or deeds. The main role of a notary public is to prevent fraudulent activities by verifying the identity of individuals involved in the transaction and ensuring that they are willingly agreeing to its terms. Notaries also keep records of their official acts and can be held liable for any misconduct or negligence while performing their duties.