what are the types of circuit? define each..