The UV filters can be screwed 18-105 very easy on my Nikon lens AF-S NIKKOR. The filter serves to protect the lens against mechanical damage, especially scratches.
The frequently described disadvantage of UV filters, namely that they can reflect back into the lens and thus lead to unsightly light points with backlit subjects light reflected from the front lens, I have not seen in my photos.