In the simplest terms, an anti- syphon tube is only in CO2 bottles. Its purpose is to prevent liquid CO2 from leaving the bottle and therefore stops the isides of your marker from freezing.
An on/off valve is designed so you can allow gas to leave or stay in the bottle depending if it is open (on) or closed (off).