R22 has HCFC (hydrochlorofluorocarbon) bad for the ozone, but not as bad as CFC's in the older formulas, R-410A is HFC, better than all previous formulas.
FYI, Freon is a brand name, other companies make it too, it is all called refrigerant.
Myths - R-410A - Honeywell AZ-20 Refrigerant...