Meaning : A commitment to tell the truth (especially in a court of law). To lie under oath is to become subject to prosecution for perjury.
Synonyms : swearing
Meaning : A solemn promise, usually invoking a divine witness, regarding your future acts or behavior.
Example :
They took an oath of allegiance.