He further states that the sentiment of justice is based on utility and human rights exists solely because they are necessary for human happiness.
However, the theory of utilitarianism has been criticized for many reasons.
John Stuart Mill depicts the concept of utilitarianism as a philosophical theory with regard to doing what is right and wrong and how they result in happiness and being unhappy.
Mills further defines happiness as the pleasure and absence of pain.
According to Kant, morality is based on human reason and not on the principle of utility or on the law of nature.
According to Kant, reasons determine what we are supposed to do and we are free when we follow them.
Dissected and debated since its first appearance, the essay is Mill's key discussion on the topic and remains a fundamental text in the study of ethics.
There are various discussions about utilitarianism but the most discussed one is the fact that, it is held to be the view that morally right action is the action that produces the most good.
Reissued here in its corrected second edition of 1864, this essay by John Stuart Mill argues for a utilitarian theory of morality.
Originally printed as a series of three articles in Fraser's Magazine in 1861, the work sought to refine the 'greatest happiness' principle that had been championed by Jeremy Bentham, defending it from common criticisms, and offering a justification of its validity.