Workers are notoriously bad fighters, but they build your structures and collect your resources so that you can do more important things.