Everyman is both a morality play and an allegory.
It is a morality play because it teaches a lesson about life and the best way to live.
It is an allegory because each character represents an abstract idea. For example, "Goods" literally represents material things -- therefore it is not surprising that material goods are no help to Everyman on his journey.