A group of men playing rugby on the sand.
A rugby team plays a match at the beach.
A rugby team can consist of individuals other than just men. A group of men playing rugby does not imply they are a rugby team. Playing rugby doesn't imply that they are playing a match. Playing on the sand does not imply that they are at the beach.
Being on sand doesn't necessarily mean they are at a beach. Just because a group of men are playing doesn't mean they are a team. Just because the men are playing rugby doesn't mean it's a match.
Rugby can be played at sandy places other than at the beach.