A trusted execution environment, or TEE, is an isolated execution area provided by a processor. It prevents other parts of the system, including the operating system, from reading or altering the code running inside it and the data being processed, preserving their confidentiality and integrity. Depending on the implementation, a TEE may encrypt memory or support remote attestation, which lets an outside party verify that the environment can be trusted.
On smartphones, TEEs run sensitive operations such as payments and authentication separately from the main operating system. In cloud computing they underpin confidential computing, which the Confidential Computing Consortium, a Linux Foundation project, defines as protecting data in use by performing computation in a hardware-based, attested TEE.