Deontology is an ethical theory that uses rules to distinguish right from wrong. It is often associated with philosopher Immanuel Kant and is characterized by a focus on the adherence to duty or obligation, rather than the consequences of actions. Kantian deontology, for instance, proposes that actions are morally right based on their adherence to universal maxims.