What is the difference between traffic lights with red arrows and those with solid red lights?

You may sometimes turn right when stopped by a solid red light. You may never turn left or right when stopped by a traffic light with a red arrow.
DMV Writen Test