# What is the trigonometric identity used to simplify this expression?

Could anyone please tell me how are those two expressions equivalent?! what are the identities used?

$$\frac{1}{1-\sin z} = \frac{1+\sin z}{1+\sin z} \frac{1}{1-\sin z} = \frac{1+\sin z}{1-\sin^2 z}$$