1,how is hydroelectric energy harnessed?

2,what are the advantages and disadvantages of using hydroelectric energy?

pasagot po plss,,thank you​