The official Genshin Impact website posted a preview of community events coming to the game for its one-year anniversary. Two of those mentioned are whats called a web event. Its a type of activity that you do outside of the game, in your web browser. Those are some mini-games that net you easy rewards. At least thats what they used to be it seems, because they devolved into gambling. In a move that left the player base dumbstruck and confused, one of the events is a raffle.

Source: N4G PC Genshin Impact Developer MiHoYo Is Facing Major Backlash From Longtime Players