Why did buddhism (and not hinduism) make an impact in china?

Buddhism was the first foreign system to take root in China. The culture into which foreign systems are transplanted seems to have a significant influence on which foreign ideas take root. Why did Buddhism play such an important role there? Why not Hinduism?

At least 150 words