what was the purpose of the declaration of independence? what are its most important ideas?

what was the purpose of the declaration of independence? what are its most important ideas?