What is the difference between keyword analysis and keyword density analysis?

I searched in google and didn't found exact link.

Can any one here explain me about those differences?

And why keyword analysis is to be done when the site is newly build?

What are the uses of keyword analysis or keyword density analysis?

Thanks in advance.