Step 1: Link use to photon energy:
A shorter wavelength means a larger photon energy, since $E = hc/\lambda$. We pick each wave by asking how much energy the job needs.
Step 2: Gentle warming (heat waves):
Warming needs only a small energy, enough to make molecules vibrate faster. The infrared region does this, so these are the "heat waves".
Range: $7 \times 10^{-7}$ m to $10^{-3}$ m, which is 700 nm to 1 mm.
Step 3: Cutting the cornea (LASIK):
Reshaping the eye needs photons that can break molecular bonds in tissue without heating it. Ultraviolet light from an excimer laser does this.
Range: $4 \times 10^{-7}$ m to $6 \times 10^{-10}$ m.
Step 4: Killing tumour cells:
Cancer cells are destroyed by the most energetic photons of the spectrum. These are gamma rays from a source such as cobalt-60.
Range: $10^{-14}$ m to $10^{-10}$ m.
Final Answer:
Heat waves are infrared, LASIK uses ultraviolet, and cancer treatment uses gamma rays, with the ranges given in the steps above.