Ask is a verb meaning ‘put a question or seek an answer from someone’:
Can I ask you a question?
He asked me what age I was.
‘How are you?’ she asked.
Ask + to-infinitive
We can use ask with the to-infinitive to talk about requesting something:
She asked to see Professor Fenton. (ask + to-infinitive)
We asked the City Council to help us organise a sports day. (ask + object + to-infinitive).