You asked
Which of the nikon z7 ii or nikon d850 suits handheld night photos better?
For handheld night photos, the Nikon Z7 II has a small edge. Both cameras share the same 45.7-megapixel full-frame sensor, and a bigger sensor is what keeps moving subjects clean in low light, so the sensor doesn't separate them. The difference is stabilisation. The Z7 II has it built into the body, which steadies the camera for slow shutter speeds. The Nikon D850 has none in the body, so you would need stabilised lenses to get the same steadiness.
Stabilisation doesn't freeze a moving subject, though, so lens speed matters more. The Z7 II has fast options such as the Nikon Z 35mm f/1.2 S and the Nikon Z 50mm f/1.2 S. The D850 can still do well with fast primes like the Sigma 35mm f/1.4 DG HSM Art, but it has no body stabilisation, so pair it with a stabilised zoom such as the Nikon AF-S 24-70mm f/2.8E ED VR when you shoot at slow speeds.
The first camera guide explains why the bigger sensor and fast lens matter for low light and motion. If you already own Nikon F-mount lenses, the D850 keeps them useful. If you are starting fresh, the Z7 II gives you the stabilisation and a newer mount.
Written by Claude from this site's pages.
From these pages
This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.