As I understand it, a zombie process has died but still exists as a placeholder in the process table until its parent (or
init if the zombie is itself an orphan) checks its exit status.
And my understanding of orphan processes is they are processes that are still alive and running but whose parent has died.
Since a zombie is already dead, its children would be considered orphans, wouldn't they? Would they be affected be reaping the zombie? Specifically, would
init adopt them as its children only once the zombie was reaped, or would they be adopted as soon as the parent became a zombie?