Medicare is a federal health insurance program for people who are 65 or older. It consists of two parts: part A is hospital insurance and part B is medical insurance.