When is an ATM network connection superior to an IP connection? Currently learning about Networks in Computer Science, and I don't understand why you would ever use an ATM (asynchronous transfer mode)  network instead of IP, as IP doesn't have to be as reliable and can be set up much more quickly, and is what the entire Internet basically uses.
AFAIR ATM was specifically designed to also transfer real time data like voice. This requires guaranteed properties like bandwidth and latency.

IP can't give those guarantees as it looses packets and reorders packets.

Also ATM is connection oriented, whereas IP needs the complexity of TCP to get that.