The fitting of powder diffraction peak intensities is the process that provides crystallographic structure information, so this is indeed the goal for many studies, while fitting of background, peak positions and widths are a necessary task, but do not in themselves provide results of interest.