The f-number and numerical aperture (NA) in optical systems are inversely related. A smaller f-number corresponds to a larger NA, and vice versa. This means that as the f-number decreases, the NA increases, leading to a greater ability to gather light and resolve fine details in the image.