How does WooCommerce ensure that a product doesn’t run out of stock during payment? [closed]

How does WooCommerce ensure that a product doesn’t run out of stock during payment? [closed]