RPA benefit of Data Gathering

I have a question about one of RPA benefits which is Data Gathering.

I did the research that Data Gathering can enable AI & cognitive platforms, but how it works?

It seems can sift and sort the data for the AI development environment in the future.
But what is the benefits or implementation AI can get from RPA?

Could anyone explain to me more clearly or probably with some sample that help me understand more about RPA?

Thank you