A reflux (non-return) valve contains a hinged flap that normal flow pushes open and reverse flow pushes closed. For properties whose fixtures sit low relative to the sewer, it is the main defence against surcharge-driven backflow.
The flap only seals if it can close cleanly — a valve fouled with debris or scale protects nothing, so periodic checking is part of owning one.