In Germany, employees are always insured in the statutory health insurance system (SHI), as are apprentices. This is the compulsory insurance.
Also foreign nationals, who are self-employed and wish to work in Germany, can choose the AOK.
In Germany, the marriage partner and children can also be insured (dependent coverage) over the member without any contribution being due, as long as the residence or usual place of abode of these relatives is in Germany.
If you are planning on studying in Germany, you are in for an exciting time: Lots of new impressions, lots of things to discover. Students are also principally covered by health insurance in Germany.