Why have refrigerator have dubble wall?

It's a method of insulation. The gap between the inner and outer walls is filled with insulation material - that prevents the heat from outside the fridge getting into the contents.