When you click and hold on a Dock icon in 10.6 Snow Leopard, other apps hide temporarily and that app goes into Exposé, showing you just its windows. You can also use the Exposé key on your keyboard, then press Tab to cycle through apps like this one-by-one, or click on an app in the Dock while in Exposé.