d9780 Did you mean Waze navigation app? If so you'll probably want to give it location permission when driving so it can do its job. If you give an app location permission they will know your GPS location while app is active (in use).
If you want extra assurance that the app is not having your location when you don't want it to, you can revoke the Location permission, disable Location access globally for all apps via control center drawer or both. I personally keep global Location toggle off at all times unless I am driving to a unusual place and need navigation. Once arrived, I disable the Global location toggle.
This is not strictly necessary with "While using the app" option for Location permission, I just do it for extra assurance.