Need help

Hi im trying to build a project with arduino. I want to use a arduino to control lights how does this work :%

what is your level of electronics knowledge? Knowing what you know really helps people figure out your problems
also what kind of lights? Regular leds can be directly hooked to the output pins with series resistors of proper value
to control higher power leds transistors or mosfets are used usually
to control anytying with ac mains voltage like a regular fixture you need a triac or relay rated properly