Why are relays so frequently driven by optocouplers?
There is still inductive kickback protection, so it is not component saving Optocouplers are not as cheap as transistors, so additional cost compared to just a driver transistor There is no need to meet any