removeChild and children

I have an object that has children. When I remove the object it appears that children of that object are not removed. How can I ensure that all children of this object are removed as required?

Thanks.