German Idealism
Kant treats duty as the core of moral worth: an action is morally good only when done out of respect for the moral law, not from inclination or expected benefit. Duty is expressed through the categorical imperative, which binds all rational beings unconditionally.
To act dutifully is to do what reason demands of any rational agent, simply because it is right, regardless of what you desire or what you stand to gain.
Source: Groundwork of the Metaphysics of Morals
Confucianism
For Confucius, duty arises from roles and relationships such as parent and child, ruler and subject, friend and friend. Fulfilling them with sincerity, ritual propriety and benevolence cultivates a moral person and a harmonious society.
Duty is the faithful living out of the obligations attached to your place in the web of human relationships, carried out with care and respect.
Source: Analects
Roman Stoicism
Cicero adapts Stoic thought to Roman public life, arguing that duties follow from our nature as rational and social beings. He insists that what is honorable and what is useful never truly conflict.
Our duties come from our shared human nature and our bonds with others, and doing them is inseparable from living honorably.
Source: De Officiis
Stoicism
Epictetus holds that duty follows from the roles we occupy, as citizen, child, sibling or parent, and that we should perform them well while accepting what lies beyond our control. Virtue lies in the quality of our choices within those roles.
Ask what your roles require of you and do that well, leaving outcomes to fate.
Source: Discourses
Hindu philosophy
The Gita presents dharma as the duty fitted to one's station and nature, taught to Arjuna on the battlefield. It urges acting without attachment to the fruits of action, as an offering.
Do the work that is rightfully yours with full commitment, while letting go of craving for its rewards.
Source: Bhagavad Gita
Utilitarianism
Mill grounds duty in the promotion of general happiness. Something is a duty when failing to do it would properly warrant punishment or social censure, because it undermines the common good.
A duty is an act whose neglect is rightly blamed, because society is better off when such acts are required of everyone.
Source: Utilitarianism