You may be too young to remember this, but 20 years ago, FIDE president Kirsan Ilyumzhinov made a very serious effort to get chess recognized as an Olympic discipline.
Turns out that there are certain formal requirements for this, the most important of which is the existence of regular doping controls. So what you have to do is publish a list of illegal substances, establish urine controls for two years in international competition, and then you can issue a formal application to the International Olympic Committee.
This is how, for example, the Snowboarders did it when they became an Olympic discipline, and Kirsan decided that we have to do exactly the same thing in chess.
The whole attempt was rather grotesque of course, and arguably did not help Ilyumzhinov's reputation. Here is a random article from those days if you are interested -
en.chessbase.com/post/controversy-over-fide-doping-check