When is IUI preferable to IVF?

In what circumstances did you choose <a href="https://glowing.com/glow-fertility-program">IUI</a> over <a href="https://glowing.com/glow-fertility-program">IVF</a>?

What conditions does it work well for? What does it not work for?