Cream of tartar prevents the sugar from crystallizing when baking. This results in a soft and chewy cookie versus a crunchy one.