Capgemini Engineering interview question

How do components communicate with each other in React?