Putty can be used to smooth out any irregularities or cracks in walls so that they are ready for painting.