wax ring seals the toilet to the sewage pipe. Modern wax ring could be made of rubber that might last longer.
But if it doesn't leak, don't fix it.