When a document is submitted to Turnitin, the software scans and compares it against a vast repository of academic content. It generates a similarity report highlighting any text that matches existing sources. This report helps educators and researchers identify potential plagiarism and ensure proper citation and referencing.