how does the setting of To Kill A Mockingbird influence the characters' traits, emotions, and motivations

Have you read the book?

Where does the story take place? In what decade? How do those elements affect the story?