Overtaking is one of the most dangerous manoeuvres, so the rules strictly forbid it where the risk is higher: at pedestrian crossings, level crossings, in residential zones, and in the other places listed in the rules.
Study on your phone. The same questions, always at hand.