How Do AI Detectors Work: Understanding the Tech Behind