How are the properties of matter related to its particles?