Answer:
Factors affecting density:
Temperature: A change in temperature causes a change in the density of the substance.
Change of state: If the state of a substance changes, the density changes. This is a result of a change in temperature too.
Compression: If a body is subjected to compression, the density of the body will increase because the volume for the same mass is reduced.
Expansion: If the body is exposed, its volume increases for the same mass, and density changes.