The roots are cut from the twig used in demonstrating the process of transpiration to avoid the water absorption. This is to show that even in the absence of roots, the twig can transport the water to the leaves via xylem. The water reaching the leaves get transpired through the stomata.