The two functions are used for typecasting the data types:
Boxing: Boxing converts value type (int, char, etc.) to reference type (object) which is an implicit conversion process using object value.
Example:
int num = 23;
Object Obj = num;
Unboxing: Unboxing converts reference type (object) to value type (int, char, etc.) using an explicit conversion process.
Example:
int num = 23;
Object Obj = num;
int i = (int)Obj;