You can use the type mask tools (Alt/Option-click the Type tool to change the current tool) to create a selection in the shape of text. You can then create different effects and cutouts with the text. Clicking in an image with a type tool puts the tool in edit mode so you can enter and edit text.