Have you gone through the documentation of this class? API Demos package bundled with the SDK has plenty of examples that demonstrate the use of this class.
In a nutshell, this class is used to inflate XMLs that define Views and ViewGroups. Inflation is a process that includes: parsing of layout XMLs, creation of appropriate View objects and their addition to view hierarchy.