Mphasis Interview Question

Define Interface and where is it used in automation coding?