Urea helps to lengthen the reaction time in dyeing for more brilliant colors. It attracts moisture from the air to keep the fabric damp for a longer stretch of time.