Answer:
Miller wrote the play as an allegory for McCarthyism, when the United States government persecuted people accused of being communists.
Hope this helps!!!