Active noise cancellation is a lot more complex. It includes microphones that actively sample the noise in an ecosystem after which generate an inverse wave that cancels out All those Appears. visualize it such as https://www.leo-brand.com/products/red-stereo-gaming-headset-for-ps4-pc-xbox-one-ps5-controller-noise-cancelling-over-ear-headphones-with-mic