In Germany, there is a diverse number of quite different types of life insurances which are build up also in different ways and which cover certain events. The worst case scenario covers death by means of a term life insurance. Another possibility is to save a specified amount of money and put this sum into a life insurance for one's very own old age provision. Once retired you get this money in addition to your state pension.
If you are interested to get yourself a life insurance (no matter which kind) ,be sure to check out at least several different insurance companies and advice centres. Life insurance contracts are generally set up long term based (decades). Termination or cancelation of life insurance contracts is often not possible immediately, and the financial burden has to be carried on until the termination of the contract is possible. So do be careful.