How does Murder differ from Euthanasia

How does Murder differ from Euthanasia? Do the courts treat the two differently?