Is there a a specific word for a book with a sarcastic theme? I am thinking of writing a book on the world of magic of witches and warlocks but in reality it is making fun of their beliefs. For example the section on herbs and potions deal with the recreationsal drugs man takes daily in life. Enslaving the apprentice deals with regular trials of working under a boss or company etc. Just wondering if there is a specific word for this type of book so I can research it more....
According to wikipedia:
Satire is a genre of literature, and sometimes graphic and performing arts, in which vices, follies, abuses, and shortcomings are held up to ridicule, ideally with the intent of shaming individuals, corporations, government or society itself, into improvement. Although satire is usually meant to be humorous, its greater purpose is often constructive social criticism, using wit as a weapon and as a tool to draw attention to both particular and wider issues in society.
"the crude satire seems to be directed at the fashionable protest singers of the time"
According to Oxford Dictionaries:
The use of humour, irony, exaggeration, or ridicule to expose and criticize people’s stupidity or vices, particularly in the context of contemporary politics and other topical issues.
In the OP's example the theme of witches, magic, apprentices and potions is imitated, ridiculed and taken to excess for comic effect.
The Wikipedia's article says:
A parody (/ˈpærədi/; also called spoof, send-up or lampoon), in use, is an imitative work created to imitate, or comment on and trivialize an original work, its subject, author, style, or some other target, by means of satiric or ironic imitation [...]
[Examples of parody in literature and cinema]
Sometimes the reputation of a parody outlasts the reputation of what is being parodied. For example, Don Quixote, which mocks the traditional knight errant tales, is much better known than the novel that inspired it, Amadis de Gaula
The British comedy group Monty Python is also famous for its parodies, for example, the King Arthur spoof Monty Python and the Holy Grail (1974), and the Jesus satire Life of Brian (1979). In the 1980s there came another team of parodists including David Zucker, Jim Abrahams and Jerry Zucker. Their most popular films are the Airplane!, Hot Shots! and Naked Gun series.
I think the word you are looking for is satire.