The study of the fundamental concepts and principles used in mathematics, including numbers, sets, and logic.