If someone discharges their duties or responsibilities, they do everything that needs to be done in order to complete them.
履行 (职责或义务)
When there is a discharge of a substance, the substance comes out from inside somewhere.
排出 • They develop a fever and a watery discharge from their eyes.