Mass and density are physical properties of matter. Mass is the amount of matter in an object, while density is the ratio of mass to volume. Temperature is a measure of how hot or cold an object is, and heat is the transfer of energy between objects at different temperatures. The three main temperature scales are Celsius, Kelvin, and Fahrenheit. Atoms are the basic building blocks of matter and are composed of protons, neutrons, and electrons. The atomic structure and arrangement of subatomic particles determine an element's properties. Elements can form compounds by chemically combining in fixed ratios determined by their atomic structure.