What is the function of を in the sentence:
Why can't it be written without it, like:
Japanese Language Stack Exchange is a question and answer site for students, teachers, and linguists wanting to discuss the finer points of the Japanese language. It only takes a minute to sign up.Sign up to join this community
'を' is a particle that is used mainly as an object particle to
indicate a direct object of action.
Therefore, it needs to be used as you are asking what the object of doing is in the question.
I am doing my homework.
could be translated to
In formal Japanese, it is better not to omit 'を' in the sentence.