What causes CEL?

https://www.youtube.com/watch?v=NdSANzseh7w Is it safe to drive with CEL?It’s okay to drive the car if the check engine light is steady. But only if the vehicle’s essential systems such as brakes…