A 12-year-old was swimming with his brother when he was attacked by the shark, according to the police in the Bahamas.