Level crossings are safeguarded by gates or barriers, and can also be safeguarded by traffic lights with red and white lights.