Okay, so, I never really up-vote or down-vote anything because I don't understand it purpose. So, I have finally decided to ask this question.
They're a way of showing which answers are good and bad. A well explained and easy to understand answer will be upvoted, while an incorrect answer will be downvoted. This helps people see what they should listen to. It also provides an incentive to give good answers.