If the ball goes into the net it is a goal and is worth three points.
If it goes through the uprights it is one point.
Scorekeeping requires just a touch of math as even though the point totals determine the winner, they track goals and points separately. So a team may be winning 3-15 to 0-19.