SANDBOX DEFINITION:

A  SandBox is a security Mechanism.It is a separate or restricted environment created to run untrusted programs or untested code by the third parties.

-> It provides a fully controlled environment which restricts the resources for the programs run in it.

-> It is mostly used for testing code.