A webcam is a digital camera that can typically stream video and audio to the web (useful for remote participation in IndieWebCamps and virtual Homebrew Website Club meetups) either as a peripheral connected (via USB, Bluetooth) to a computer, or as a standalone device directly connected to the internet by wifi (AKA IoT webcam), though the latter tend to be vulnerable to attack.
Internet of Things webcams vulnerable
IoT webcams tend to be vulnerable to attack:
2016-01-14 Help Net Security: Cheap web cams can open permanent, difficult-to-spot backdoors into networks
2017-10-05 The Next Web: Woman films her internet-connected camera whispering ‘Hola señorita’