Those are O-ring adapters.
If you retain any of your old components, they have flare fittings and will require these adapters if the new hoses are fitted with O-ring fittings.
it is entirely possible you will not need these O-ring adapters for your installation.
Larry