You asked

What is the fujifilm xf 18mm f 2 r good for?

The Fujifilm XF 18mm f/2 R is a small, light prime for APS-C Fujifilm X cameras. On these bodies it frames like a 27mm lens on full frame, a moderately wide view that suits street, travel, documentary and environmental shots, where the place matters as much as the person. Its f/2 aperture gives about the depth of field of f/3 on the same sensor, so you get a little more background separation than a deeper lens would, though this is not a fast lens for dim light. It is not stabilised, so steady hands and a bright scene matter more here. The Fujifilm XF 18mm f/2 R page lists every X-mount body it fits.

For portraits, 18mm is wide enough that it exaggerates whatever is closest to the camera, so the portraits guide would point you to a longer lens for faces. The aperture notes explain how f/2 translates across sensor sizes.

Because this lens is small, it balances well on a compact body. The guide's sensible everyday pairings are:

The lenses guide explains why a wide aperture matters so much in dim light.

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