What can affect the properties of a substance?
A. Only the arrangement of atoms

B. Only the types of atoms

C. Neither the arrangement nor the types of atoms

D. The arrangement and types of atoms