How do BIP8 and BIP9 differ, how are they alike?

With Taproot on everyone’s lips, people have started discussing activation approaches. The debate currently seems to favor BIP8. Previous soft forks used BIP9. How are the two related and what are the differences between the two?