The goal is covered by a net, which is firmly attached to the goalposts, crossbar and ground behind the goals. Because the ball is restrained by the net, it is a means of telling whether the ball has actually passed under the crossbar and between the posts, so that the referee or assistant can be sure a goal has been scored.