Visa Inc. interview question

Why do we use APIs?