What’s better plumbers putty or silicone?

As of today, silicone caulking is a more modern product, while plumber’s putty is the more traditional method. However, both (in most cases) will suffice when fixing minor leaks in doors and windows