A fallacy is an incorrect argument in logic and rhetoric. It gives a result which is not valid or lacks soundness. In mathematics, a fallacy can occur when the reasoning violates the condition of its applicability. Fallacies are either formal fallacies or informal fallacies.