Companies market value and book value

What is the difference between a companies market value and book value? How is the market value and the book value related to earnings per share? What is the market value and the book value for the public company's : McDonalds, Ford Motor Co.,Amazon.com, Walmart Why is there a difference in this number?