Why do sheep keepers paint their sheep?

Sheep keepers sometimes artificially paint "smit marks" onto their sheep in any pattern or color for identification.