EBay gets a cut of each transaction. That is how eBay makes money.
Well, I make money by selling things for more than I paid for them, or by selling things I own that have no real value to me any more.
Does that answer your question, or was there more you wanted to know?