The spots on ladybugs are designed to scare away predators. Oddly enough, it works.

The older the ladybug, the fewer spots on its back, and the duller its color.