What is the physical knowledge of "enjoying the cool under a big tree"?

What is the physical knowledge of "enjoying the cool under a big tree"?

"It's good to enjoy the cool under the big tree", which is a well-known saying. Xiaofeng disagrees, so he has a fierce argument with Xiaofang. Xiaofeng thinks that the living standard has improved now. With a sunshade, people under the sunshade are as cool as under the big tree because there is no direct sunlight. Xiaofang thinks that it's hotter under the sunshade than under the tree