What was the purpose of hardy and weinberg's work?

What was the purpose of hardy and weinberg’s work??