In the sentence "Please, don't speak evil of the dead," the preposition "of" is used to indicate the relation between the verb "speak" and the object "the dead." "Speak of" is a phrase commonly used to discuss or mention someone or something. "don't speak evil of the dead" means not to say negative or harmful things about those who have passed away.