UiPath Interview Question

What is the difference between RPA & APIs?