Explore the concept of friend functions and how they can access private members of a class.