The UVa light attracts the flies to Linnea Electric Fly Trap.
The flies get stuck to the Glue board.
Due to the strong UV resistant adhesive, they cannot detach themselves and will eventually die.