Lin Yan, the 24-year-old chief female forensic doctor of the modern Provincial Public Security Department, fainted on the autopsy table due to overwork. When she opened her eyes, she traveled to the Dajing Dynasty, which was backward in criminal investigation, and became the daughter of the county magistrate who was about to be executed and was charged with "adultery and murder of her husband."
Faced with the predicament of low status of ancient murderers and frequent unjust cases, Lin Yan used a calm and rational mind and modern forensic technology to break the situation: she pointed out the loopholes in the autopsy on the spot and suspended the death penalty. Despite the reputation of "a woman who desecrated the corpse", she used improved silver needle poison testing, analysis of wound characteristics and other methods to find out the real culprit, and successfully proved her innocence. Later, she was appreciated by Xiao Che, the young minister of Dali Temple, and participated in the investigation of cases as a secret assistant. From the analysis of the water accumulation in the lungs of the female corpse in the dry well, to the judgment of the shape of the ditch in the suspected suicide of the scholar, to the restoration of the blood spatter in the murder case of the General Mansion, she used science to break feudal prejudices time and time again.
As a series of strange cases were solved, Lin Yan gradually came into contact with the shocking conspiracy of the "Zhuhe Faction" headed by the Prime Minister to collude with neighboring countries and eradicate dissidents. In the case of the sudden death of the prince, Lin Yan even took the risk of dissecting the internal organs to find key evidence of datura pollen. In the end, she exposed the conspiracy with a complete chain of evidence and pushed the court to establish the "Female Forensic Agency". She not only realized her original intention of "using science to protect justice", but also became a tacit partner with Xiao Che.