A selection allows you to isolate a part of your photo. There are many selection tools in photoshop, the most commonly used being the Rectangular Marquee Tool.
A layer mask is used to hide portions of a layer and reveal portions of whatever layer is below it. You can modify the mask by using the brush tool and painting in either black or white.