Genesis 19
The two angels had the appearance of males.1 The two angels came to Sodom in the evening, and Lot was sitting in the gate of Sodom. When Lot saw them, he rose to meet them and bowed himself with his face to the earth
So far so good. But then:2 “My lords,” he said, “please turn aside to your servant’s house. You can wash your feet and spend the night and then go on your way early in the morning.”
“No,” they answered, “we will spend the night in the square.”
3But he insisted so strongly that they did go with him and entered his house. He prepared a meal for them, baking bread without yeast, and they ate.
The men of Sodom wanted to have sex with the men-guests of Lot. That's homosexual acts. For that, they were immediately punished:4 Before they had gone to bed, all the men from every part of the city of Sodom—both young and old—surrounded the house. 5They called to Lot, “Where are the men who came to you tonight? Bring them out to us so that we can have sex with them.”
Jude 1 agrees with this:10 But the men inside reached out and pulled Lot back into the house and shut the door. 11Then they struck the men who were at the door of the house, young and old, with blindness so that they could not find the door.
The citizens of Sodom committed other sins also, particularly the female citizens. Ezekiel 16:7 In a similar way, Sodom and Gomorrah and the surrounding towns gave themselves up to sexual immorality and perversion. They serve as an example of those who suffer the punishment of eternal fire.
49“ ‘Now this was the sin of your sister Sodom: She and her daughters were arrogant, overfed and unconcerned; they did not help the poor and needy.