Most modern garage doors use infrared sensors. These sensors emit an invisible beam across the garage door opening. If the beam is interrupted by an object or person, the door will not close.