Unlike gases, the behavior of liquids and solids cannot be described by a set of laws that can be applied regardless of the identity of the substance. Since liquids and solids are composed of particles that are much closer together, a force of attraction exists between them. The strength of these attractive forces will determine a compound's physical properties and its state of matter at a given temperature.