The voting is part of the website shown in the SERP. Just think of a SERP showing some products including an amazon offer. Amazon added the information from their customers product reviews using rich data etc. Google uses this rich data information to display these stars.
But however, not all sites using rich data snippets get those stars.