Calif laws regarding rv parking

Where can I find out the regulations regarding where an RV can be parked. Rules on use on private land etc. Can a travel trailer be used as an extra room for a teenager on private land?
When traveling do you always have to park in a camp ground?