'Custom Callback' action is used to execute a PHP code.
This is how the 'Custom Callback' action UI looks.
Note: Every event has its own data which is passed to the custom callback.
Here's a Custom Callback in action on the 'WooCommerce Subscription: Subscriptions Before Renewal' event:
Here's another Custom Callback in action on the 'WooCommerce: Order Created' event: