How an ultrasound sensor and camera works in an autonomous car?

In an autonomous car, the significance of Ultrasound sensor and camera is very high with parking aid. It helps in avoiding the traffic regulations and the collisions are also prevented.