English grammar practice test: 29339505 on grammar and sentence structure

An electromagnet is a device which magnetism is produced by an electric magnet.

There are 4 underlined sections in the text above. Select the one which is wrong.