What is the main function of a jury?

What is the main function of a jury? Why is this duty imposed on the jury? Why do you believe some people do not want to perform their duty by sitting on a jury? What are some of the potential issues or risks if they do?