A coroner is like a judge. They’re a qualified lawyer appointed as a judicial officer to look into unexpected, violent or suspicious deaths to find out what happened.
They may order a post mortem and they’ll decide if there should be an inquiry into the death. Coroners don’t hold trials and they don’t blame people or punish them.