Science fiction writers may invent planets other than our own as wonderful places to live but as far as we know there is nothing like Earth in this solar system or in any other. Our Sun is a long-lived stable star with a reliable energy output over billions of years, and our planet is just the right distance away to avoid getting overheated like Venus or being out in the cold like Mars. Earth is big enough (that is, its gravity is strong enough) to retain an atmosphere (which would escape on a small planet like the Moon). Also, the atmosphere is dense enough and has the right composition to form a pleasant greenhouse blanket. Seventy percent of Earth is covered by water, which ensures there is plenty of water vapor available for the atmosphere, and this, in turn, ensures that the greenhouse effect is strong enough for producing an average balmy 60°F on the surface of Earth.
The Earth rotates about its axis once every 24 hours, which results in alternating heating and cooling in a daily cycle, so that extremes stay close to the mean. The ocean and the presence of freshwater also aid in temperature control because of the large heat capacity of water. In fact, much of the heat generated by the human-induced excess greenhouse effect appears to enter the ocean. Likewise, water is important in carrying heat from where it is hot to where it is cold, both in the form of "latent heat" as the water vapor in the winds, and as warm water in the ocean currents.
In addition to having the right distance from the sun, an ocean, an atmosphere, and a 24-hour rotation, the Earth also has a rotational axis that is at a convenient angle to the plane of the orbit. The inclination of the axis (23.5° relative to the vertical to the orbital plane) results in considerable annual variation in the sunlight received in middle and high latitudes, which makes for the seasons, summer and winter! If the Earth's axis were vertical, the polar regions would have much more ice than now, because the summer sun would be too weak to remove winter snow poleward of 50 degrees latitude or so.