I don't know about the php mailer function, how can I it

What is the php mailer function, and how does it work popperly?