He uses them to, among other things, give his dog the ability to speak, which is where Robin Williams comes into the picture.
In the story, a group of aliens, all voiced by the living members of Monty Python, consider the destruction of the planet Earth.
It stars Simon Pegg and was written and directed by Monty Python alum Terry Jones.
As a test to see if the planet is worth saving, they give one human god-like powers to see whether or not he is seduced by them and uses them for evil ends.