Goal linetechnology

What is goal line technology in football/soccer?

How does goal line technology work in football/soccer?