The philosophical works for which Leibniz has chiefly been known were composed in the years between 1690 and 1716. Unfortunately, he never wrote out a full and systematic account of his views. Indeed, the one and only large philosophical work that he published during his lifetime was the Theodicy, in which, according to its subtitle, he proposed to explain and presumably to reconcile the goodness of God, the freedom of man, and the origin of evil. Leibniz distinguishes three types of goodness and evil: metaphysical, moral, and physical.
Metaphysical evil is mere imperfection, physical evil is identified with suffering, and moral evil is sin. The existence of metaphysical evil is a consequence of the previously mentioned incompossibility of certain