The historic exchange is part of a Donald Trump-brokered deal between Israel and Hamas that aims to bring an end to the devastating two-year war.