An AI detector identifies whether a piece of content is generated by an AI writer or written by a human. It looks at text and sentence patterns to distinguish between AI content and real human writing and assigns an AI probability score based on its evaluation.