I've done design work on the CCTV cameras so they are quite unlike a camera in a phone. Since a phone isn't compatible with your usual recorder and your usual surveillance recorder is not compatible with a phone there's not much in common. The differences would have me writing far too long so let's get to the bottom line.
Use what you want.
some cameras used in home, road, offices and so on, some cameras used in phone, what is the difference of them? are they same thing?