Doesn’t afci/gfci refer to duplex receptacles that are used when there isn’t a ground wire present? You can buy them at Home Depot.
They are 2 different types of protection. GFCI protects from shock, AFCI from fires, and the requirements are different.
GENERALLY speaking, GFCI is required near water (bathrooms, kitchens and outside) or to replace 2 prong outlets when a true ground isn’t present. The Ground Fault (GF of GFCI) happens when you become part of the electrical current pathway.
Arc Fault Circuit Interruptors, now upgraded to Combined AFCI (i.e. CAFCI), detect sparks that happen in the walls or junction boxes. While GFCI is required near anything wet, CAFCI is now required on ALL residential 120V circuits.
So, generally speaking, CAFCI gets implemented in breakers, GFCI on outlets, but there are combined breakers and outlets that do both.
Should note however that while GFCI’s are legal for 2 to 3 prong upgrades in old homes most surge protectors won’t work without a true ground. If you have expensive computers or home electronics and want surge protection you should get a ground installed.
Historically, GFCI predates AFCI by decades, but the NEC has continued to expand the requirement for them. Now you may need GFCI on your range or refrigerator depending on where they are in your kitchen, and those are most convenient with GFCI breakers.
Of course, these requirements are only enforced with new construction and updates. You aren’t required to retrofit old circuits but you may.