In the old days, volleyball was played to 15 points and a point is scored only when the serving team wins the rally.
Today, rally scoring is primarily used which means a point is scored as a result of each play. Most volleyball games today are rally scoring and played to 25 points.
To win the game, you must score more points than your opponent and be leading by at least 2.