Is lead generation sales or marketing?

Originally, lead generation has been a responsibility of the sales team. But over the years there has been a development where the responsibility is now shared between the sales and marketing team.

Show me the magic in real life 🪄