The state establishes social insurance systems such as basic old-age insurance, basic medical insurance, industrial injury insurance, unemployment insurance and maternity insurance. Its advantage is to ensure that citizens can get material help from the state and society in accordance with the law in the case of old age, illness, work injury, unemployment and childbirth.
Further reading: How to buy insurance, which is good, and teach you how to avoid these "pits" of insurance.