Giant flare erupts from the Sun