What is groupset in cycling?
The gears and brakes as a set: shifters, derailleurs, crankset, cassette, chain and brakes, such as Shimano 105 or SRAM Rival.
Each brand makes groupsets at several levels. Higher levels are lighter and shift a little more crisply; lower levels are cheaper to run and replace. Electronic groupsets (Di2, AXS) shift with a button press and need charging.
The parts that wear (chain, cassette, chainrings, brake pads) are usually cheaper to replace with the same make and number of gears, as most parts only work with the same speed count.