Spark plug heat range

Ok could someone school me on a hot plug and a cold plug what do they do,if an engine is a tad rich do you use a hotter plug and so on.Would like the knowledge on this.Thankssssss.The plug I have in the 360 is the NGK GR4 2635,I have no clue on its heat rang.