When glycerol reacts with excess iodine and heat, it undergoes substitution to form allyl iodide. The reaction involves the substitution of the hydroxyl group with an iodine atom.
Step 2: Conclusion.
The product of the reaction is allyl iodide, corresponding to option (b).