The lower two are likely the power in (line) and the other power out (load) to the light. It looks like there might be a bunch of neutrals (white wires) all twisted together in the back of the box. If so you need to connect to those. The switch won't work without it.