What is Sandbox in SQL server and explain permission level in Sql Server

Sandbox is place where we run trused program or script which is created from the third party. There are three type of Sandbox where user code run.

Safe Access Sandbox:-Here we can only create stored procedure,triggers,functions,datatypes etc.But we doesnot have acess memory ,disk etc.

External Access Sandbox:-We cn access File systems outside the box. We can not play with threading,memory allocation etc.

Unsafe Access Sandbox:-H

ere we can write unreliable and unsafe code.