The regulations in connection with the so-called age of consent are intended to protect young people from sexual experiences at too early an age.
The so-called age of consent in this country is usually 14 years in the first step. This means that anyone who has sex with a partner under the age of 14 is automatically guilty of sexual abuse. One's own age does not play a role in this context.
Thus, the age of consent is an important aid in the fight against abuse and too early sexual experiences.
But: if the person in question is, for example, "already" over 14 but still under 16, it is also possible that the partner is liable to prosecution. This is especially true if he or she is over 21, for example. In this case, the decision is usually made on the basis of the individual case.
However, if the partner in question is a teacher, for example, the legislation prescribes an age of consent of 18 years. Whether or not sex is punishable depends on several factors, especially the age constellation.
Interestingly, the aforementioned laws used to differ with regard to the specifications on straight and homosexual relationships. Here, the age of consent for gay partnerships was 18 years per se. In the course of time, the regulations were adapted so that no distinction is made here between homosexuals and heterosexuals.
The age of consent is designed to help people have their first sexual experience when they are ready. Of course, every teenager develops in a different way, so it may well be that some people feel ready for sex at 16 and others at 20. Despite all individuality, it is certain that the age of consent must never be undercut. If you have passed the age of consent, it is usually best to listen to your own gut feeling and not let yourself be persuaded.