Why is solar energy better than hydro electric energy?

For generating hydro electric energy we have to build dams across a river which disturbs its ecological balance and ecological balance of its surroundings so solar energy is far better than hydro electric energy.