What did the unicorn have to do with Harry Potter in the movie?

Lord Voldemort was feeding off of the unicorn blood to give him strength in the Forbidden Forest.