Webcams capture video and audio, converting them into digital signals that can be transmitted over the internet or stored on a computer.