ELI5: What are payday loans? How are they a scam?

I just ask since I was watching a video, and the sponsor was a loan looking type app. People in the comments kept saying it was a payday loan scam. Tried looking it up but it still doesn't make sense to me. Also I was calling it a scam I just assumed it was cause everyone was saying it was 😭