Sodium alginate acts as a binder in textile printing and dyeing processes, facilitating the application of dyes onto fabrics.