Usually, term life policies offer coverage up to 30 years; however, you may be able to choose a Policy Term (duration) of 10, 15, 20, 25, 30, 35, or 40 years, depending on your current age and health.
With term life, if you (the insured) die during the policy term while the life insurance coverage is In Force, the death benefit is paid out by the insurance company to the beneficiary of your life insurance plan, which you select when you buy your policy.
If you outlive the duration of your term insurance policy, there is no death benefit payout, and your life insurance policy ends, meaning you no longer have life insurance.
Term life is Pure Protection, meaning it only provides a death benefit, but there is no cash value that builds up inside the policy. That's why term insurance is the cheapest type of life insurance you can buy for a period of 30 years or less.