Mistletoe

7 hours ago
If it was in the sun it would be incinerated and in the shade it would freeze right?
The other side would radiate, losing the heat. Earth, being in a similar position, is neither incinerated nor refrigerated, though different sides of it can be hot or cold.
Earth has the benefit of a thermal mass that's at least a couple times larger than your average terrarium.
Everything exposed to the sun will heat up until the energy it emits balances out the incoming energy.

Being a larger mass just means an object will take longer to heat up.