Fallout 4 introduced settlement building to the franchise. All those junk items scattered around the wasteland are given a purpose as materials. Junk items are converted into their base scrap parts in settlement workshops. You can then use the scrapped material to build everything from turrets to Nuka Cola mixing machines.