Term life insurance ends at a specific age usually age 65 or 70, but your rate may be guaranteed to remain level 5, 10, 15, 20 or 30 years.
Some life insurance plans you see advertised on TV for seniors may expire at age 80.
Whole life insurance expires at whatever age you do. It is life insurance protection for your entire lifetime; whereas, term life insurance is temporary life insurance coverage for a specific period of time. That's one major reason why term life costs so much less than whole life insurance.