Let's match each component of a sperm cell with its function:
A. Head contains genetic material, which is the DNA required for fertilization. Therefore, A matches with IV.
B. Middle piece provides the energy required for sperm motility, as it contains mitochondria. Thus, B matches with III.
C. Acrosome is an enzyme-containing structure that helps the sperm to penetrate the egg during fertilization. Therefore, C matches with I.
D. Tail is responsible for sperm motility, allowing the sperm to move towards the egg. Thus, D matches with II.
Thus, the correct answer is A-IV, B-III, C-I, D-II.