You can connect a wireless keyboard to a Mac or PC using Bluetooth, as long as the keyboard is charged and in pairing mode.
Wireless mice are convenient and clutter free. Bluetooth mice can be connected to your Mac in System Preferences.