(Please note that in real life, masses can't simply "disappear".)
For 8 minutes and 20 seconds (in the case of Earth), or for less or more time, depending on the distance of the planet from the Sun, the planet would continue orbiting the place where the Sun was. After that, the change in the gravitational field will have had enough time to reach Earth; the planet will no longer "feel" the pull of the Sun, and will continue moving in a straight line.
If gravity suddenly disappeared, the moon would fly out into space in a straight line. If the moon suddenly stopped moving it would fall straight into Earth.
people would get ill and sick
Mercury first and Pluto last.
The 'pull' of the sun makes the Earth go around it. It can be compared with you holding a string with a piece of stone attatched to the end. If you start 'moving' the stone (as the Earth does) the movement will take the form of the stone speeding in a circle. That is caused by you exercising - through the string - a gravity-like 'pull' on the stone. If the sun suddenly would disappear, the same thing would happen as when you, spinning the stone around on your string, would suddenly 'disappear' and so let go of the string. The stone then would fly away in a straight line in the direction it was going when you released the string. In the same manner, the Earth would immediately stop speeding around in a circle and fly off in a straight line.
it woluld be very bad because many living things would die and it will affected the life cycle more.
Not really. If Mercury suddenly disappeared, it would not significantly affect the rest of the Solar System.
If gravity suddenly disappeared, the moon would fly out into space in a straight line. If the moon suddenly stopped moving it would fall straight into Earth.
They probally want something!
All living things would die
It is unlikely to happen, at least in my life time, which is a great comfort to me. But, as we and the other planets in our solar system orbit round the sun because of the sun's attraction, if the sun suddenly disappeared, there would be nothing to stop us being flung outwards into space.
Well you would not be able to get answers to questions like this.
people would get ill and sick
If the sun suddenly died and no longer lit up the world the first planet to be affected would be Mercury. Mercury would be affected first because it is the closest planet to the sun.
You would see things - including Earth itself - break apart.
MARS
neptune
Mercury