An active railroad crossing:

Active railroad crossings use installed traffic control devices to regulate traffic. These devices can be in the form of flashing red lights, warning bells, and/or gates. The directions of devices controlling railroad crossings must always be followed.
DMV Writen Test