If you're asking about "Tow/Haul" mode....
It firms up the shifts....
In overly simplified lay terms: When in normal driving mode the transmission shift curve is long and smooth thus improving fuel milage. as an example (for the haters..... just an example the numbers are made up) shifts into 2nd gear at 1500 RPM, 3rd at 2000 RPM, 4th at 2200 RPM, 5th at 2500 RPM etc...... Highest MPH at the lowest RPM
In Tow Haul mode the transmission doesn't care about fuel mileage, it cares about power/torque (again just an example) it shifts into 2nd at 1600 RPM, 3rd at 2200 RPM, 4th at 3000 RPM, 5th at 3500 RPM, etc
It holds it in a lower gear longer at a higher RPM thus providing maximum power/torque for the amount of work it's doing at a given speed. When loaded and needs plenty of power to maintain a certain speed, it will do it in normal drive mode but will most probably be hunting gears (shifting into a higher gear and on slight incline increase, shift into a back into a lower gear, repeating that process annoying so.... etc) when in tow haul mode, it maintains the lower gear and higher RPMs for longer.
"hunting gears" basically that means the transmission is shifting to find the best RPM to maintain the MPH asked of it by the driver. The 2020 Tacoma has a crapbox transmission and is always looking for a gear even when empty and going up even modest inclines. I sometimes manually lock it into 6th when traveling in hilly highway terrain.