Hi Laveena,
To access the token for a field, use one of the following methods:
Access the static member variable name of an sObject static type, for example, Account.Name.
- Call the getSObjectField method on a field describe result.
- The field token uses the data type Schema.SObjectField.
In the following example, the field token is returned for the Account object’s Description field:
Schema.SObjectField fieldToken = Account.Description;