How does \Magento\ConfigurableProduct\Model\Product\Type\Configurable::getChildrenIds() work?

Context: How does \Magento\ConfigurableProduct\Model\Product\ReadHandler::getLinkedProducts() work?

How does \Magento\ConfigurableProduct\Model\ResourceModel\Product\Type\Configurable::getChildrenIds() work?