Two Proportions Test vs Chi-square Test



What is the difference between using a two proportions test vs Chi-
square test if let's say you wanted to determine is there is a
signficant difference in men vs women being hospitalized for a given
condition? Thanks.
.