You asked

What is the sigma 24mm f 2 dg contemporary good for?

The Sigma 24mm f/2 DG Contemporary is a wide prime for full-frame cameras. Its f/2 aperture gathers more light than a typical kit zoom, so it suits dim interiors, evening street scenes and any wide shot where you want the background softer than a small aperture would give. On full frame it frames as marked, at 24mm. The lens is made for Sony E and L-Mount, and the guide's camera list shows it fits many full-frame bodies, including the Sony a7 III and a7 IV, and the Panasonic Lumix S5 and S5 II.

It gives up some things. It isn't stabilised, so you'll need a steady hand or a faster shutter speed in low light. It's also a single focal length, so you move your feet rather than zoom. If you want a smaller, lighter wide prime, the Sigma 24mm f/3.5 DG Contemporary is the pocketable alternative, at the cost of a slower aperture.

For landscapes, the guide notes that most shooters stop down to f/8 or f/11, so the wide aperture matters less there. It is more useful for close, environmental scenes. For portraits, the guide's portrait lenses favour 35mm for showing a person's surroundings, so 24mm works best when you want a lot of setting around a close subject. If you're unsure, the focal length converter explains how the aperture behaves on other sensor sizes.

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