civic duty
deber cívico
something the law requires you to do as a citizen or resident, with a penalty if you do not.
Example
Serving on a jury when you are called and paying taxes are civic duties.
In Spanish
deber cívico — algo que la ley te obliga a hacer como ciudadano o residente, con una sanción si no lo haces.
Servir como jurado cuando te llaman y pagar impuestos son deberes cívicos.