To create a custom workspace, move and manipulate panels (called palettes in Photoshop and in Adobe Creative Suite 2 components).
You can save custom workspaces and switch among them.
A dock is a collection of panels or panel groups displayed together, generally in a vertical orientation. You dock and undock panels by moving them into and out of a dock.
As you move panels, you see blue highlighted drop zones, areas where you can move the panel. For example, you can move a panel up or down in a dock by dragging it to the narrow blue drop zone above or below another panel. If you drag to an area that is not a drop zone, the panel floats freely in the workspace.
To remove a panel, click its close icon (the X at the upper-right corner of the tab), or deselect it from the Window menu.
To add a panel, select it from the Window menu and dock it wherever you wish.
When you drag a panel out of its dock but not into a drop zone, the panel floats freely, allowing you to position it anywhere in the workspace. Panels may also float in the workspace when first selected from the Window menu. You can stack free-floating panels or panel groups together so that they move as a unit when you drag the topmost title bar. (Panels that are part of a dock cannot be stacked or moved as a unit in this way.)