BehaviorSubject and ReplaySubject
Explain how BehaviorSubject and ReplaySubject each solve the 'late subscriber' gap that plain Subjects leave open.
A plain Subject has no memory of past emissions, which is a problem any time a component needs the current value of something immediately upon subscribing, rather than waiting for the next emission that might never come (or might come much later). BehaviorSubject and ReplaySubject both solve this, but in different ways worth distinguishing precisely, since interviewers frequently ask you to pick the right one for a given scenario.
BehaviorSubject is like a digital thermostat display — walk up to it any time and it instantly shows the current temperature, regardless of when it last changed. ReplaySubject is like a DVR that lets a late arrival instantly rewatch the last few minutes of a show they missed, not just freeze on the current frame.