IP Rating are used to define levels of sealing effectiveness of electrical enclosures against intrusion from foreign bodies (tools, dirt etc) and moisture.
The numbers that follow IP each have a specific meaning. The first indicates the degree of protection (of people) from moving parts, as well as the protection of enclosed equipment from foreign bodies. The second defines the protection level that the enclosure enjoys from various forms of moisture (drips, sprays, submersion etc).