In Leibniz' philosophy, monads are the basic units that the universe is composed of. According to him, the monads have been arranged by a perfect God in the best and only possible way. Thus, all suffering and pain lead to better circumstances for everybody. This theory was disputed by the French philosopher Voltaire in his novel Candide, a comedic story which mocks this optimism as not only irrational but also inapplicable.