Taking an oath is one kind of swearing.