Logic
Logic is the discipline that studies the rules of valid reasoning, that is, the forms of inference that guarantee a correct passage from premises to conclusion. It takes no interest in the content of propositions but in their arrangement: what makes a piece of reasoning correct or incorrect, independently of what it is about.
Born with Aristotle and his theory of the syllogism, it underwent a major refounding at the end of the nineteenth century with formal or symbolic logic, carried in particular by Frege and Russell, which brought it close to mathematics. Today it supplies the foundations of computing and artificial intelligence as much as those of philosophy.
An example
Distinguishing the validity of a piece of reasoning, whose form is correct, from the truth of its premises, whose content is right, is a fundamental logical move.