Rotating component on Z axis?

Thank you for take your time to help me.
I will try your solution.
And I researched some other topics.
And they described very well.
I think it’s my lack of base knowledge causing the issue.