Stun is a debuff that disables movement, abilities and attacks of the target. This debuff gets cancelled if the target receives damage, unlike Root.