What is Theodicy?

Theodicy deals with the issue of good versus evil that exist in the world and how it relates to God. It is a way in which theologians and philosophers try to explain or justify evil and the idea of a good God.