The stars are a way to rate the answer, whether they did it right or wrong. You can also rate questions for any reason, but the most used one is based on if the question is spam or if they actually posted a good question that they needed help with. I believe I explained that fairly well, but I bet Admin could explain it more, if you'd like to ask him.