Does Ubuntu 24.04 use iptables or nftables?

Seems it can be confusing. I’ve been reading that as well.
A similar discussion also found here: How to confirm that nftables is enabled & in use?