Twitter generates revenues through two main channels: advertising and data licensing. It consistently struggles to turn a profit, though, which is something that Musk will need to address as the new owner, assuming the deal goes through.