Driving+Question

How does a wind turbine (or solar panel) work, and how is one constructed?