Photoshop allows you to create images with transparency (backgrounds, layers or transparent areas) using various transparency options thanks to the opacity adjuster or background options that appear when you create a new document. Also, you can use the selection tools or the eraser to make only certain areas of the image transparent. In Photoshop, transparency is often added when the image is printed on textured paper or when the image itself is added to the background of a website that already has a texture so that the texture can be seen through the transparent areas. With a little practice, you will be able to add transparency to an image in Photoshop in no time.
Steps
Part 1 of 4: Creating a Transparent Background

Step 1. Click on "File"> "New"
Click on "File" in the top menu and select "New". This will open a new window where you can assign the properties of the new Photoshop document.

Step 2. Select "Transparent"
A menu will open in which "Background content" section you have to choose "Transparent". The button appears at the bottom of the new document window.

Step 3. Click "OK"
Press the "OK" button.

Step 4. Check the levels
Look in the "Layers" window or the "Layers" tab in the document properties bar (it should already be open by default). The background layer should appear as a gray and white checkered rectangle (indicating that the layer is transparent).
Part 2 of 4: Making Layers Transparent

Step 1. Select the level
Select the layer you want to make transparent by clicking on it in the list in the "Layers" tab.

Step 2. Change the opacity
Click on the spinbox that appears next to "Opacity" at the top of the "Levels" tab. By default, the opacity is 100%.

Step 3. Lower the opacity
Drag the arrow of the opacity meter that changes the opacity of the layer. If you want the layer to be completely transparent set the opacity to 0%.
Part 3 of 4: Creating Transparent Areas

Step 1. Select the level
Select a layer that isn't transparent, but make sure all underlying layers, including the background layer, are transparent.

Step 2. Select the area to edit
Create your area using one of the selection tools.

Step 3. Copy the selection
Click "Copy" (CTRL + C).

Step 4. Delete the selection
Press DEL - you should now have a hole in the image.

Step 5. Create a new layer
Paste the selected area you copied into a new layer (CTRL + V).

Step 6. Lower the opacity
By lowering the opacity, the area in the selection you created will become transparent.
Part 4 of 4: Making Transparent with the Stroke

Step 1. Create or select the layer
Select a layer (which must have more than 0% opacity, preferably it should be 100% opaque). All underlying layers must be transparent.

Step 2. Select the "Eraser" tool
Select the "Eraser" in the toolbar.

Step 3. Change the settings
Choose the size and shape of the eraser using the options bar that appears when you select the tool.

Step 4. Draw using the eraser
You practically eliminate the areas of the image you draw on, showing the transparent layers underneath.