This tutorial gives an overview of the tool Orient World. In scenes tracked with AE's 3D camera tracker, the ground plane of your scene is normally an oblique plane in 3D space. Orient World fixes this - with a single click you make a solid layer the ground plane of your scene and orient everything accordingly.
See also the 3D truck composite tutorial on videocoiplot.net, which shows how to achieve the same thing manually without Orient World.