In the Heat of the Night is a 1965 novel by John Ball set in the community of Wells, South Carolina. The main character is a black police detective named Virgil Tibbs passing through the small town during a time of bigotry and the civil rights movement.