What did the nineteenth amendment do?

It gave the right to vote to women.

The Nineteenth Amendment prohibits sex discrimination in voting, therefore it guaranteed voting rights for both men and women.