Answer:
I'm almost positive it is allegory
Step-by-step explanation:
An allegory is used in order to give light to a hidden meaning through a person, event, place. In this case, The Lottery is portraying the dangers of tradition and religion, and the whole story was written to bring light to the brutality and inhumanity of this simple tradition.