When buying a home there are things that come up...that's it, there are just those things. One of the steps in buying a home is doing your "Due Diligence". When working with a good buyer's agent, you, as the buyer, will be encouraged to make sure the home you are buying is in good condition. The home inspection provides an expert's opinion on the structural soundness and working order of each component of a home. You'll want someone who is experienced in the field, and who can test each and every aspect of the home, providing a good report on each facet of the inspection. The home inspection is critical. The inspector is a third party providing a professional opinion on the validity of the home. Their trained eye will be able to see the details, and look beyond the surface.
In short, it's a wise decision to hire a qualified home inspector.