Why is my camera on my macbook air not working
Because something is wrong.
Consider the suggestions in iSight camera failure after OS X 10.9 Mavericks update.
If your trouble continues, see Mac OS X: How to troubleshoot a software issue.
If nothing else helps you, Contact Apple MacBook Air Support.