The known universe in Starfield is full of stuff to grab, but the player's pockets won't be able to carry them all. Luckily, ships can store all manners of items to a greater degree, though this isn't totally unlimited either.
Starfield: How to Increase Ship Cargo
Make the most out of Starfield's ships by increasing their cargo capacity for massively increased storage space.