Tom is like Faust because he sells his soul to the devil. In this opera the character Nick Shadow represents the devil. Tom leaves his lover Anne Trulove and goes to find lots of other women in London. He has several adventures, which are all arranged by Nick who is helping him to have a good time. In the end Tom finds himself in Bedlam which was a horrible building where mad people were sent in the 18th century.