A man is batting a ball on the beach beside the ocean .