moral_obligation has definitions from the field of sociology
1
[ noun ] (sociology) an obligation arising out of considerations of right and wrong

Examples

"he did it out of a feeling of moral obligation"

Related terms

duty

*