Candide by Voltaire

In Candide by Voltaire, analyze the character of Dr. Pangloss, especially philosophy-wise. Talk about his functions  in the book and what he represents in the satire