Lawyers call it pro bono work, a Latin phrase meaning, For the public good.
Lawyers call it "pro bono."