The question, "why is the equator warmer than the poles" may be answered by the following illustration:--
When sunlight shines from overhead (on left), one square foot of sunlight falls on one square foot of ground. When it shines at a shallow angle (on right), each square foot of sunlight spreads out over many feet of ground.