Capgemini interview question

Difference between BAPI and FM