This article aims to demystify the mechanics and principles behind genetic algorithms (GAs) in AI, from their biological inspiration to their application in machine learning and beyond.