You asked

Can I adapt the nikon af s 18 35mm f 3 5 4 5g ed to nikon z?

This site's catalogue lists the Nikon AF-S 18-35mm f/3.5-4.5G ED only with the Nikon F mount, and it fits only F-mount bodies: full-frame models such as the D750, D810 and D850, and APS-C models such as the D7500 and D500. The guide doesn't cover Nikon Z cameras or F-to-Z adapters, so it can't say whether this lens works on a Z body, or how well. Check that with Nikon or a dealer before you buy.

If you're staying with F-mount, the lens is a small, inexpensive full-frame wide zoom. It isn't stabilised and its aperture narrows as you zoom in, so it suits landscapes and architecture in good light more than dim interiors. The lenses guide puts a standard zoom and a fast standard prime ahead of a specialist wide zoom when you're starting out. If people and low light matter more to you, the portraits guide explains why a 50mm f/1.8 is the cheapest great lens to add.

On an APS-C body the 18-35mm frames like 27-52mm on full frame, so it becomes a standard zoom rather than a wide one.

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}.