SMS DataTech Interview Question

What are APIs? explain it's types..