Punitive damages punish the wrongdoer for an illegal action. They also serve as an example to prevent others from committing the same illegal action.