Hello,
Please read about Downloadable products in WC docs https://docs.woocommerce.com/document/digital-downloadable-product-handling/
Regards