Artificial intelligence is a mysterious force transforming our world. From self-driving cars with medical breakthroughs, AI's potential are breathtaking. Yet, its inner workings remain an enigma, inspiring both wonder and trepidation. In order to understand AI, we must investigate its core concepts. Mathematical models are the brains of AI, inte