Speed

Speed determins in what order the charecters will attack. The charcter with the highest speed will attack first.

Having heroes with a high speed stat allows them to kill enemys before they had their turn. And by doing so it prevents damage to your party.