We show that the classical algebra of quaternions is a commutative $Z_2timesZ_2timesZ_2$-graded algebra. A similar interpretation of the algebra of octonions is impossible.