The top most button on the iPhone this is usually silver in color and is used for turning on or off the iphone is called the power button.

iPhone Power Button

iPhone Power Button

If the power button is kept pressed for 3 seconds it gives an option to shut down by iphone by sliding the screen.

The power button if kept pressed for more than 10 sec will directly shut down the iPhone

See full list of  uses of Power button