The iPhone has a built-in feature called Background Sounds for playing rain noises or white noise to tune out surrounding noise.To turn on Background Sounds, go to Settings > Accessibility > Audio & Visual > Background Sounds.You can choose from various sounds like rain, ocean, fire, and more.You can quickly turn Background Sounds on and off from the Control Center.