Which statement is true about relative dating?

A.) It is based on the half-life of carbon-14 atoms.
B.) It is based on the position of rock layers.
C.) It is the most modern of the dating techniques.
D.) It is based on radioactivity analysis.