Which IDs do we need when removing nested elements?

The parent element's ID, and the child's IDOnly the child element's IDOnly the parent element's IDThe body element's ID

The parent element's ID, and the child's ID.