No, heat and light do not have mass. They do not occupy space because they are not matter. Matter is anything that occupies space and has mass. ... Six of the samples are matter (sugar granules, water, stone, air in ball, leaves and smoke).
-Hope this helped