which branch of science studies the structure of matter?