The Immediate Window provides a way to rapidly edit and debug code. It is not a full development environment, instead it is to be used for API discovery and rapid prototyping.
https://docs.unity3d.com/Packages/com.unity.immediate-window@latest/index.html