In WooCommerce, there are different hooks for their product pages, cart page & checkout page. These hooks help us to add our content in several places on these pages. Here we have a tendency to discuss WooCommerce cart page hooks.
The woocommerce_before_cart hook is placed before the cart form that means function under this hook will be executed before the start of the cart form.
The woocommerce_before_cart_table hook is placed inside the cart form but before the start of the cart table.
The woocommerce_before_cart_contents hook is placed inside the cart