Does Anyone understand how: "Delete User Data" extension works

so firebase has an extension called Delete User Data, and im wondering if anyone understands how it works, or if anyone has even used it?

I'm wondering if I delete a user's data, and maybe that user has an order document. Does that document have to have the userID inside that document to have it be deleted?

1