Camera app is pre-installed in Windows 8 , 8.1 , 10. For accessing it just type camera in start and you will find it.
For windows 7 and earlier you have to first install a Camera app in your computer only the you can use camera in your computer.
(Camera app for PC - Cyberlink You cam, Many Cam, Split Cam etc)
THANK YOU