Are Scriptable Objects still relevant as compared to using Components from ECS?

I have recently invested some time to understand the concept of Scriptable Objects (I am working on an inventory system, and Scriptable Objects looks like a good fit). However, the “C” from ECS and Scriptable Objects seems to converge in terms of their respective purposes.

In my opinion, I think Scriptable Objects might have a benefit, since it is not attached to any gameobjects and thus is not loaded into main memory. This is how I understand serialization (pardon me if I sounds dumb in any way).

So, is Scriptable Objects still relevant over Components from ECS? And if so, in what way?

Edit: There was a slight misunderstanding of my original question. It has been edited to make my question more clear.

Im not very into this, but since my perspective the diference is that scriptable objects are a way to store information from diferent things with similar ways of beahve, like cards in heratstone. But ECS is a way of work with a group of ojects with a similar behaviour, like a soldier in a battalion of the total war.

So scriptable objects are to make diferent objects with same data type meanwhile Entities make a group of game objects a better performance making you to use more nucleous of the computer