Pregunta de entrevista de IBM

How does react connect the frontend to the backend and explain the code with functions used