The best answers to the incomplete statements above would be that based on the interactions between Pahom and the Devil, Pahom is the type of character known as the protagonist while the Devil is intended to be as the antagonist. The former is usually the main character of the story and the latter is the villain.
A satirist may make a subject ridiculous by comparing it to something undignified.
That way he diminishes the value of that subject and mocks it, creating a funny effect.