Logic is critical to pure mathematics, statistics, and data analysis. Logic is also studied in philosophy. People who study math create proofs that use logical rules to show that mathematical theorems are correct. There is an area of mathematics called mathematical logic that studies logic using mathematics. 