Scrapping a fleet removes all the ships in that fleet from existence, and returns some of the minerals and resources used to create it.
See also:-
Ultimate recycling LRT Guts of scrapping