In conjunction with the crankshaft position sensor, the camshaft position sensor indicates to the engine's computer that it is okay to fire the fuel injectors and start the car.
The cam sensor in a BMW is also known as the camshaft position sensor and what it does is the sensor tells the injection brain which cylinder is firing. And, as i understand, it is located on left side of oil filter.