You can double-tap or triple-tap the back of iPhone to perform actions such as taking a screenshot, turning on an accessibility feature, running a shortcut, and more.
Go to Settings Accessibility features for mobility on iPhone