Medicare Part A and B are the foundational components of the U.S. federal health insurance program for people aged 65 and older, as well as certain younger individuals with disabilities. Part A covers hospital and inpatient services, while Part B covers outpatient care, preventive services, and some home health care, each with specific eligibility requirements and cost-sharing provisions.