A soul can't be seen, has never been measured, we don't know how something like a soul could evolve, we don't know of anything that could create souls and if souls are true, we don't know anything about how they behave - like are they eternal? Are they somehow recycled? Do they occupy more than one body throughout their existence? Do they go to a heaven or hell?
The point is not they're a figment of people's imagination, although it could be. It's that discussing aggressively concepts which we can't prove exist outside fantasy is kind of futile.