You can move, rotate, or tilt an object so that it aligns with another object.
In the following example, two pairs of points are used to align the piping in 2D using the ALIGN command. Endpoint object snaps align the pipes precisely.
In 3D, use the 3DALIGN command to specify up to three points to define the source plane followed by up to three points to define the destination plane.
With 3D solid models, it is recommended that you turn on dynamic UCS to speed the selection of the destination plane.