Advanced Placement vs. Dual Enrollment

How are they dual enrollment classes if they are taught at the high school? Are they taught be college profs? Just curious - they are probably both good options.