Beside all what was rightly said in previous posts about convection heat transfer by the bulk motion of air currents, let's add that a house located in the northern part of the United States, when the outdoor temperature is appreciably lower than the internal house temperature, would probably present a different picture than Barry's house.
Heat flows in the direction of decreasing temperature. A heated house in winter loses heat because of the temperature difference between itself and the environment, but this loss is balanced by energy input from a furnace, solar collector, electricity, or other source. The house is said to be in thermal energy balance.
Windows, walls and roof on the south side may admit solar energy by radiation while losing heat by conduction, radiation and convection. This loss of heat may result in cooler "exposed" house surfaces making the basement the warmer part of the house although it may lose some heat to the ground.
The atmospheric temperature in the troposphere (from the Greek for "sphere of change") decreases with altitude at a so-called lapse rate of about 6.5oC per kilometer.
The main reason for the decrease is that sunlight first heats Earth's surface, which then transfers heat to the atmosphere. Air parcels start moving upward, being less dense (buoyancy force) than the surrounding air, as with gases belched out of smokestacks or automobile exhaust pipes.
As the air rises, the pressure of the surrounding air drops (mountain climbers and pilots use barometers to determine their altitudes) and the parcel expands to maintain pressure equilibrium. Since air is a good thermal insulator it exchanges little heat with its surroundings. Its expansion is therefore considered adiabatic, and thus, its temperature drops as it expands.
As MintJulep explained, atmospheric phenomena are quite complex if only due the fact that the rate of adiabatic cooling may be greater or smaller than the lapse rate. Thunderstorms, cloud formation, air plumes trapped with their pollutants at lower altitudes, water condensation and evaporation, winds, temperature inversion, etc., are apparently the result of these varying cooling rates.
Above about 16 km, where the stratosphere begins, the summit of the Everest -the highest point on Earth- is at about 8.8 km, temperature rises due to numerous chemical reactions caused by the sun's radiation, one of the most important being the formation, and eventual destruction, of ozone, to about 0oC in the stratopause, at about 45 km above sea level.
Still above that height, in the mesosphere, the temperature again decreases as altitude increases up to about 80 km, the mesopause, to about -110oC.
After that, in the thermosphere including the ionosphere, the temperature rises, and atoms, ions, and molecules reach speeds corresponding to 1000oC.
It is in this zone where the layer of ionized gases reflects radio waves effectively, and makes possible shortwave radio transmission.
The region between 500 and 1000 km, called the exosphere or "region of escape", is the outermost region of the atmosphere; here the density is so low that the mean free path of particles depends upon their direction with respect to the local vertical, being greatest for upward-travelling particles.
Natural processes, still not fully comprehended, are being continuously studied by experimental and theoretical scientists.