单项选择题

It can be inferred from the passage that stages of sleep are primarily classified according to ______.

A.breathing rhythms
B.muscular movement
C.dreaming patterns
D.brain wave activity