Question: what is the difference between duty and function?
Answer: As nouns the difference between duty and function is that duty is that which one is morally or legally obligated to do while function is what something does or is used for.