This article explains how to use Voice Control on the Apple iPhone or iPod Touch. Voice Control is compatible with devices running iOS 3 and later. Additional Voice Control options were added in iOS 14.5.
How to use Voice Control on iPhone, iPad, and iPod touch | Apple Support
To set up and enable voice control:
Go to Settings > Accessibility.
Tap Set Up Voice Control.