Suppose we want to make a question from
To be in love means X
where X is some phrase.
People usually say
What does it mean to be in love?
What is the role of "it" here? (a dummy subject? If yes, how could the affirmative sentence be rephrased in a way which includes it?) The subject of the affirmative sentence is "to be in love". Shouldn't it appear directly after the auxiliary verb in the question? like this:
What does to be in love mean?