Already some good info above...
True, the simplest way to think of it is: Bio-load in tank ultimately produces nitrates, water change removes nitrates (assuming low nitrates in the new water). But there's more to it than that, which is why there's no one-size-fits-all rule for water changes. De-nitrification can take place in your substrate, filter media, algae and bio-film, plants, etc. To what extent depends on a variety of factors, including type, depth, and/or gradients of O2 in substrate, type of media in your filter, how often you rinse your media (potentially next in importance to water changes), etc. etc.
Bottom line is if you delve into it the subject of de-nitrification is fairly complicated and a lot of factors go into it-- imo it's worth spending some time to do some reading on it. But probably the simplest factors to understand and manipulate are water changes, filter media (what kind, maintenance) and fast growing plants.