What does "discharge" mean?

Native speaker’s answer
Rebecca
Here, "discharge" is a verb that means to allow someone to leave officially, especially in a hospital, a court of law, or in the armed forces. It can also mean sending out a substance or liquid or the action of firing a gun. Ex: She was discharged from the hospital yesterday. Ex: The officer discharged the gun without warning. Ex: When oil is discharged into the sea, it harms a lot of wildlife.