I'm encountering the terms "surrogate key" and "natural key" while diving into Acumatica data management. Can someone explain the difference between these two key types and how they're used in Acumatica? Understanding their purposes would be much appreciated.

As you can see in documentation it has mentioned that for primary key use the suffix as ID and for natural key use the suffix as CD based on the requirement. But in some cases the natural keys and primary keys are two different columns. And in some cases both were in same column. Can anyone justify why so.