The metal has been historically used to scavenge air in vacuum tubes .
Barium is used to remove oxygen from cathode ray tubes and vacuum tubes .