Tech Mahindra interview question

what is a friend function?