Within one tradition of deontology, our ethical duty is explained in terms of a principle that the German philosopher Immanual Kant called the categorical imperative. Our primary duty is,according to Kant, to act only in those ways in which the maxim of our acts could be made a universal law.
The "maxim" of our acts can be thought of as the intention behind our acts. The maxim answer the question: What am I doing?