But I’ll try to answer you question;
Proguard is a product by the company Guardsquare.
Main purpose is to shrink (reduce file size), optimize (remove dead code), and obfuscate (harder to decompile) your code.
They provide this for free / open source.
(The paid version is called DexGuard)
R8 by Google replaced this.
R8 is a product made by Google, provided for free, and distributed as part of the Android Gradle Plugin. Google switched from using ProGuard, to using R8 since AGP version 3.4.0. R8 should be a drop-in replacement, and should be completely compatible with the ProGuard config files. It serves the same purpose as the original ProGuard did.
R8 replaced ProGuard, and should be 100% compatible.
I see no reason to use ProGuard instead of R8.
To configure R8, it uses ProGuard config-files.
If you need more protection, use DexGuard (paid product)
Hope this helps.