To sync audio recorded separately, drop the video and the recording together: the two soundtracks are compared, the recording slides into place, and Replace the camera sound puts the clean track under your picture. Press Export video and you have one file with good sound in sync.
This is the everyday version of dual-system sound: a camera or phone films, while a lavalier, a wireless mic kit, a handheld recorder or another phone in a pocket records the voice. The camera still needs its own microphone switched on, because its rough scratch sound is the reference the recording is matched against. Matching is precise to well under a millisecond when both heard the same words.
If there is no second recording and the one file is simply out of step, use fix the audio sync instead. For three or more devices, the multicam hub covers batch syncing and timeline export.