Every cordless screwdriver has a gearbox, which transfers power from the motor to the chuck in the form of torque and speed.
Torque is the turning force delivered by the cordless screwdriver, and speed is how fast it turns the screwdriver or drill bit.
Torque and speed have an inverse relationship, (meaning that when one increases the other decreases and vice versa.)
Torque and speed are adjusted using the speed control trigger (and the torque control ring, if your tool has that feature).
Squeezing the trigger increases the speed of the cordless screwdriver but decreases the torque, and releasing the trigger decreases the speed but increases the torque.
Different amounts of torque and speed are needed depending on the screwdriving or drilling task.
Generally, working with tougher materials or larger screws should be done at slower speeds to allow for greater torque to be delivered.