Yes. Buying a home "as is" is a risky proposition. Major repairs on homes can amount to thousands of dollars. Plumbing, electrical and roof problems represent significant and complex systems that are expensive to fix.
Your realty agent is one source. But keeping them independent from the agent may be a good idea. Inspectors are listed in the yellow pages. You can ask for referrals from friends. Ask for their credentials, such as contractor's license or engineering certificate. Also, check out their references.
A home inspection is when a paid professional inspector -- often a contractor or an engineer -- inspects the home, searching for defects or other problems that might plague the owner later on. They usually represent the buyer and or paid by the buyer. The inspection usually takes place after a purchase contract between buyer and seller has been signed.