The basic benefits of Medicare include hospital insurance (Part A), medical insurance (Part B), and prescription drug coverage (Part D). Part A covers inpatient care, such as hospital stays. In contrast, Part B covers outpatient services, such as doctor visits and preventive care. Part D is optional coverage for prescription drugs.