Bus mastering is a feature in computer architecture that allows a device connected to the bus to initiate transactions without involving the central processor, improving system efficiency and performance. This capability enables devices like network cards and disk controllers to communicate directly with each other, freeing up CPU resources for other tasks.