The attractive and repulsive forces between molecules that influence their physical and chemical properties.