The keyboard is a main peripheral for a computer. Keyboards are connected via USB or an adapter for PS/2.
Most keyboards can function properly without special software. But if your keyboard provides additional features, then additional drivers or software may be required.