How does a realtor work?

Specifically with rentals?

I understand when someone is selling a home, the seller can hire a realtor, and when the realtor sells, they get a percentage of the sale.

But for rentals, how does it work? I’m looking to rent out of state, but I can’t go there beforehand to see the homes.

I called a realtors office to ask what areas are good. She said she mostly does sales, but has some rentals, and if I see anything I like online, give her the address and she’ll go check it out and send me video of it or FaceTime so I can see.

So.... who pays the realtor in this case? I think I’d have to pay the realtor. But my husband thinks the owner of the rental would have to pay.

Does anyone know?

I understand I can ask the realtor, but honestly I don’t want to sound stupid if this is supposed to be common knowledge.