The answer is all of the above
Why?
When crafting a personalized report, you have the option to employ the custom dimension as the main focal point. Conversely, within a standard report, custom dimensions can be utilized either as secondary dimensions or as segments.
Custom dimensions can serve as primary dimensions within Custom Reports. Furthermore, they can be employed as Segments and secondary dimensions in standard reports.