Deontology is a moral theory that evaluates the rightness or wrongness of actions based on whether they adhere to a rule or duty, rather than their consequences. It posits that certain acts are inherently right or wrong, emphasizing duty and moral obligations as the primary guide for ethical choices.