The invention relates to a camera. The camera comprises a single chip microcomputer control module. The single chip microcomputer control module is electrically connected with an ultrasonic distance measurement module, a camera module, an electric control switch and an air detection module. The ultrasonic distance measurement module is embedded in the front end of the camera module. The air detection module comprises a pM2.5 detection unit, a temperature and humidity detection unit, a combustible gas detection unit, a noise detection unit and a smoke detection unit. The electric control switch is eclectically connected with a power supply module and a GPRS communication module. The power supply module comprises a storage battery and a wireless charging module. The camera has the advantages that real-time location and distance measurement for a tracking object can be effectively improved; after the air detection module is increased, the indoor air quality can be monitored in real time; power is supplied by the storage battery instead of traditional commercial power supply, therefore, the application range is expanded, and the wiring annoyance is avoided; and moreover, the camera can be controlled to be powered on and powered off conveniently through the electric control switch and the GPRS communication module.