Part is burned, part goes to stakers.
EIP-1559 is the Ethereum patch that introduced the fee burn in Aug 2021.
It's a bit complex, but basically speaking, the higher demand is for the network, the more expensive transactions become and the more ETH gets burned.
Will gas fees burn or go to stakers?