Censorship was a key feature of Nazism and is prevalent in fascism. Generically speaking, censorship is used to control the press/public opinion, eliminate opposition, and to promote ideologies. Nazism is/was a very specific form of fascism. Its forms of censorship were extreme and systemic, controlling all of education, media, the arts, and scientific discourse.
That is how it relates.