What is diff between script in head and in body

What is difference between script in head and script in body