An oath is when the court asks a person to promise to tell the truth before they start to give their evidence in court.
This is called swearing an oath, they can swear on a holy book, or make a promise to tell the truth which is called an affirmation.