In "The Alienist" by Machado de Assis, Dr. Simão Bacamarte opens an asylum to study madness in the city of Itaguaí. Determined to understand the human mind, he interns several citizens, generating controversy and revolt. The story satirizes science, society and the boundaries between sanity and madness, culminating in a surprising twist.