We need the assign activity because it helps in assigning values to the variables. Mostly they are used when there is a need for incrementing the variable’s value when there is a loop. You can add the value and then store them to another variable or it helps in assigning the value to some array.