Tech Mahindra Interview Question

what is a friend function?