of elements or compounds in the solid state