The diagram shows a nail before and after a procedure was done.
Which statement best explains what was likely done to the nail?
A) It was made to conduct electricity, which caused the domains to randomize and the nail to become nonmagnetic.
B) It was rubbed with a magnet, which caused the domains to line up and the nail to become magnetic.
C) It was struck repeatedly, which caused the domains to randomize and the nail to become nonmagnetic.
D) It was heated, which caused the domains to line up and the nail to become magnetic.
