How does high-frequency trading work on decentralized exchanges?

High-frequency trading allows cryptocurrency traders to take advantage of market opportunities that are usually unavailable to regular traders.