Logic is the branch of philosophy that studies correct reasoning and the principles that distinguish valid arguments from invalid ones. It provides formal systems, like deductive and inductive logic, to evaluate how conclusions follow from premises. At its core, logic aims to clarify thinking, eliminate contradictions, and reveal the structure of rational argument.