IP Rating or IP Code or Ingress Protection Code is a rating system to measure the tolerance of a device to particles and liquid.
An IP Rating or IP Code usually follows the format “IPXX." The first "X" measures the tolerance to different levels/density of particles. And the second "X" measures the tolerance to the invasive level of liquids.