Magento 2, Product with custom option used to allow customers to customize the product as per the need from a set of different Custom options.
The custom option is a native feature of Magento and you can add Custom option from Admin side in product Add/edit section.
If you want to get custom option’s value programmatically from Product, you need to use the below code in your module.
