Hamas has ruled Gaza since 2005 and has used its own people as human shields when shooting thousands of rockets into Israel.